NAME

docker-construct - Construct the filesystem of an exported docker image.

SYNOPSIS

docker-construct [--quiet|-q] [--include_config] IMAGE DIR

DESCRIPTION

docker-construct reconstructs the filesystem of an exported docker image. That is, it takes a tarball exported by docker save and recreates the filesystem with all of the layers flattened in a directory. IMAGE is the path to the image tarball to use and DIR is the directory to extract the image into.

OPTIONS

  • -q, --quiet

    If specified, will not output progress on stderr.

  • --include_config

    If specified, the image's config json file will be added to the root of the extracted filesystem as config.json. (If there happened to be file with that name there anyway, this will overwrite it).

SEE ALSO

Docker::Construct

AUTHOR

Cameron Tauxe, <camerontauxe at gmail.com>

LICENSE AND COPYRIGHT

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.