mviereck / image2rootfs

Convert a Docker image to a rootfs tarball

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image2rootfs

Create a rootfs tarball from a Docker image.

Pulls an image and creates a tarball at /tmp/image2rootfs/rootfs-<image-name>.tar. Pulls from Docker hub by default or from elsewhere specified with skopeo image name syntax (see man skopeo, section IMAGE NAMES).

Syntax:

image2rootfs [OPTIONS] IMAGENAME

Options:

  -h, --help
  -v, --verbose
      --version

Dependencies:

  skopeo
  python|python3
  tar
  gzip
  file

About

Convert a Docker image to a rootfs tarball

License:MIT License


Languages

Language:Shell 100.0%