NAME

WWW::Docker::Volume - Docker volume entity

VERSION

version 0.100

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.

client

Reference to WWW::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

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-docker/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2025 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.