12 Aug 2020 14:50:03 UTC
- Distribution: Docker-Construct
- Module version: 1.0
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Testers (53 / 31 / 3)
- KwaliteeBus factor: 1
- 18.09% Coverage
- License: perl_5
- Perl: v5.12.0
- Activity24 month
- Download (8.16KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCAMTAUXE Cameron Tauxeand 1 contributors
- Cameron Tauxe
Docker::Construct - Construct the filesystem of an exported docker image.
This is the backend module for the docker-construct command-line tool. For basic usage, refer to its documentation instead.
use Docker::Construct qw(construct); # Minimal usage construct('path/to/image.tar', 'path/to/output/dir'); # With options construct( image => 'path/to/image.tar', dir => 'path/to/output.dir', quiet => 1, include_config => 1 )
Reconstruct the the filesystem of the specified tarball (output from the
docker savecommand) inside the specified directory. If only two arguments are given, they are interpreted as the paths to the input tarball and output directory respectively. If more arguments are given, the arguments are interpreted as a hash. A hash allows you specify additional options and the input tarball and output directory are specified with the
Path to the input tarball
Path to the output directory (must exist already)
If true, progress will not be reported on stderr.
If true, include the image's config json file as config.json in the root of the extracted filesystem.
<camerontauxe at gmail.com>
This software is copyright (c) 2020 by Cameron Tauxe.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Docker::Construct, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Docker::Construct
For more information on module installation, please visit the detailed CPAN module installation guide.