1CH-PULL2TAR(1) Charliecloud CH-PULL2TAR(1)
2
3
4
6 ch-pull2tar - Pull image from a Docker Hub and flatten into tarball
7
9 $ ch-pull2tar IMAGE[:TAG] OUTDIR
10
12 WARNING:
13 This script is deprecated in favor of ch-convert. It will be removed
14 in the next release.
15
16 Pull a Docker image named IMAGE[:TAG] from Docker Hub and flatten it
17 into a Charliecloud tarball in directory OUTDIR.
18
19 This runs the following command sequence: docker pull, ch-builder2tar
20 but provides less flexibility than the individual commands.
21
22 Sudo privileges are required for docker pull.
23
24 Additional arguments:
25
26 --help print help and exit
27
28 --version
29 print version and exit
30
32 $ ch-pull2tar alpine /var/tmp
33 Using default tag: latest
34 latest: Pulling from library/alpine
35 Digest: sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528
36 Status: Image is up to date for alpine:latest
37 -rw-r--r--. 1 charlie charlie 2.1M Oct 5 19:52 /var/tmp/alpine.tar.gz
38
39 Same as above, except optional TAG is specified:
40
41 $ ch-pull2tar alpine:3.6
42 3.6: Pulling from library/alpine
43 Digest: sha256:cc24af836d1377e092ecb4e8f0a4324c3b1aa2b5295c2239edcc7bbc86a9cbc6
44 Status: Image is up to date for alpine:3.6
45 -rw-r--r--. 1 charlie charlie 2.1M Oct 5 19:54 /var/tmp/alpine:3.6.tar.gz
46
48 If Charliecloud was obtained from your Linux distribution, use your
49 distribution’s bug reporting procedures.
50
51 Otherwise, report bugs to: https://github.com/hpc/charliecloud/issues
52
54 charliecloud(7)
55
56 Full documentation at: <https://hpc.github.io/charliecloud>
57
59 2014–2021, Triad National Security, LLC
60
61
62
63
640.26 2022-01-24 00:00 UTC CH-PULL2TAR(1)