CH-PULL2TAR(1) | Charliecloud | CH-PULL2TAR(1) |
ch-pull2tar - Pull image from a Docker Hub and flatten into tarball
$ ch-pull2tar IMAGE[:TAG] OUTDIR
Pull a Docker image named IMAGE[:TAG] from Docker Hub and flatten it into a Charliecloud tarball in directory OUTDIR.
This runs the following command sequence: docker pull, ch-builder2tar but provides less flexibility than the individual commands.
Sudo privileges are required for docker pull.
Additional arguments:
$ ch-pull2tar alpine /var/tmp Using default tag: latest latest: Pulling from library/alpine Digest: sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528 Status: Image is up to date for alpine:latest -rw-r--r--. 1 charlie charlie 2.1M Oct 5 19:52 /var/tmp/alpine.tar.gz
Same as above, except optional TAG is specified:
$ ch-pull2tar alpine:3.6 3.6: Pulling from library/alpine Digest: sha256:cc24af836d1377e092ecb4e8f0a4324c3b1aa2b5295c2239edcc7bbc86a9cbc6 Status: Image is up to date for alpine:3.6 -rw-r--r--. 1 charlie charlie 2.1M Oct 5 19:54 /var/tmp/alpine:3.6.tar.gz
If Charliecloud was obtained from your Linux distribution, use your distribution’s bug reporting procedures.
Otherwise, report bugs to: <https://github.com/hpc/charliecloud/issues>
Full documentation at: <https://hpc.github.io/charliecloud>
2014–2020, Triad National Security, LLC
2020-12-20 14:44 Coordinated Universal Time | 0.21 |