NAME
API::Docker::Volume - Docker volume entity
VERSION
version 0.001
SYNOPSIS
my $docker = API::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 API::Docker::API::Volumes methods.
client
Reference to API::Docker client.
Name
Volume name.
Driver
Volume driver (usually local).
Mountpoint
Filesystem path where the volume is mounted on the host.
inspect
my $updated = $volume->inspect;
Get fresh volume information.
remove
$volume->remove(force => 1);
Remove the volume.
SEE ALSO
API::Docker::API::Volumes - Volume API operations
API::Docker - Main Docker client
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-api-docker/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <getty@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.