NAME
Podman::Images - Manage images.
SYNOPSIS
# Create and use containers controller
my $Images = Podman::Images->new();
$Images->List();
# List local stored images
my $List = Podman::Images->List();
# Prune unused images
Podman::Images->Prune;
DESCRIPTION
Podman::Images lists images and prunes unused ones.
ATTRIBUTES
Client
my $Client = Podman::Client->new(
Connection => 'http+unix:///var/cache/podman.sock' );
my $Images = Podman::Images->new( Client => $Client );
Optional Podman::Client object.
METHODS
List
my $List = Podman::Images->List();
Returns a list of Podman::Image of stored images.
Prune
Podman::Images->Prune();
Prune all unused stored images.
AUTHORS
Tobias Schäfer, <tschaefer@blackox.org>
COPYRIGHT AND LICENSE
Copyright (C) 2022-2022, Tobias Schäfer.
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.