SYNOPSIS
my $docker = WWW::Docker->new;
my $images = $docker->images->list;
my $image = $images->[0];
say $image->Id;
say join ', ', @{$image->RepoTags};
say $image->Size;
$image->tag(repo => 'myrepo/app', tag => 'v1');
$image->remove;
DESCRIPTION
This class represents a Docker image. Instances are returned by WWW::Docker::API::Images methods.
Reference to WWW::Docker client.
Image ID (usually sha256:... hash).
ArrayRef of repository tags (e.g., ["nginx:latest", "nginx:1.21"]).
Image size in bytes.
my $updated = $image->inspect;
Get fresh image information.
my $history = $image->history;
Get image layer history.
$image->tag(repo => 'myrepo/app', tag => 'v1');
Tag the image.
$image->remove(force => 1);
Remove the image.
WWW::Docker::API::Images - Image API operations
WWW::Docker - Main Docker client
9 POD Errors
The following errors were encountered while parsing the POD:
- Around line 34:
Unknown directive: =attr
- Around line 42:
Unknown directive: =attr
- Around line 51:
Unknown directive: =attr
- Around line 61:
Unknown directive: =attr
- Around line 84:
Unknown directive: =method
- Around line 97:
Unknown directive: =method
- Around line 110:
Unknown directive: =method
- Around line 123:
Unknown directive: =method
- Around line 131:
Unknown directive: =seealso