SYNOPSIS
my $docker = WWW::Docker->new;
my $volumes = $docker->volumes->list;
my $volume = $volumes->[0];
say $volume->Name;
say $volume->Driver;
say $volume->Mountpoint;
$volume->remove;
DESCRIPTION
This class represents a Docker volume. Instances are returned by WWW::Docker::API::Volumes methods.
Reference to WWW::Docker client.
Volume name.
Volume driver (usually local).
Filesystem path where the volume is mounted on the host.
my $updated = $volume->inspect;
Get fresh volume information.
$volume->remove(force => 1);
Remove the volume.
WWW::Docker::API::Volumes - Volume API operations
WWW::Docker - Main Docker client
7 POD Errors
The following errors were encountered while parsing the POD:
- Around line 33:
Unknown directive: =attr
- Around line 41:
Unknown directive: =attr
- Around line 49:
Unknown directive: =attr
- Around line 57:
Unknown directive: =attr
- Around line 75:
Unknown directive: =method
- Around line 88:
Unknown directive: =method
- Around line 96:
Unknown directive: =seealso