1CH-PULL2DIR(1) Charliecloud CH-PULL2DIR(1)
2
3
4
6 ch-pull2dir - Pull image from a Docker Hub and unpack into directory
7
9 $ ch-pull2dir IMAGE[:TAG] DIR
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 Docker image named IMAGE[:TAG] from Docker Hub and extract it into
17 a subdirectory of DIR. A temporary tarball is stored in DIR.
18
19 Sudo privileges are required to run the docker pull command.
20
21 This runs the following command sequence: ch-pull2tar, ch-tar2dir. See
22 warning in the documentation for ch-tar2dir.
23
24 Additional arguments:
25
26 --help print help and exit
27
28 --version
29 print version and exit
30
32 $ ch-pull2dir 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 creating new image /var/tmp/alpine
39 /var/tmp/alpine unpacked ok
40 removed '/var/tmp/alpine.tar.gz'
41
42 Same as above, except optional TAG is specified:
43
44 $ ch-pull2dir alpine:3.6 /var/tmp
45 3.6: Pulling from library/alpine
46 Digest: sha256:cc24af836d1377e092ecb4e8f0a4324c3b1aa2b5295c2239edcc7bbc86a9cbc6
47 Status: Image is up to date for alpine:3.6
48 -rw-r--r--. 1 charlie charlie 2.1M Oct 5 19:54 /var/tmp/alpine:3.6.tar.gz
49 creating new image /var/tmp/alpine:3.6
50 /var/tmp/alpine:3.6 unpacked ok
51 removed '/var/tmp/alpine:3.6.tar.gz'
52
54 If Charliecloud was obtained from your Linux distribution, use your
55 distribution’s bug reporting procedures.
56
57 Otherwise, report bugs to: https://github.com/hpc/charliecloud/issues
58
60 charliecloud(7)
61
62 Full documentation at: <https://hpc.github.io/charliecloud>
63
65 2014–2021, Triad National Security, LLC
66
67
68
69
700.26 2022-07-20 00:00 UTC CH-PULL2DIR(1)