1CH-PULL2TAR(1)                   Charliecloud                   CH-PULL2TAR(1)
2
3
4

NAME

6       ch-pull2tar - Pull image from a Docker Hub and flatten into tarball
7

SYNOPSIS

9          $ ch-pull2tar IMAGE[:TAG] OUTDIR
10

DESCRIPTION

12       Pull  a  Docker  image named IMAGE[:TAG] from Docker Hub and flatten it
13       into a Charliecloud tarball in directory OUTDIR.
14
15       This runs the following command sequence: docker  pull,  ch-builder2tar
16       but provides less flexibility than the individual commands.
17
18       Sudo privileges are required for docker pull.
19
20       Additional arguments:
21
22          --help print help and exit
23
24          --version
25                 print version and exit
26

EXAMPLES

28          $ ch-pull2tar alpine /var/tmp
29          Using default tag: latest
30          latest: Pulling from library/alpine
31          Digest: sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528
32          Status: Image is up to date for alpine:latest
33          -rw-r--r--. 1 charlie charlie 2.1M Oct  5 19:52 /var/tmp/alpine.tar.gz
34
35       Same as above, except optional TAG is specified:
36
37          $ ch-pull2tar alpine:3.6
38          3.6: Pulling from library/alpine
39          Digest: sha256:cc24af836d1377e092ecb4e8f0a4324c3b1aa2b5295c2239edcc7bbc86a9cbc6
40          Status: Image is up to date for alpine:3.6
41          -rw-r--r--. 1 charlie charlie 2.1M Oct  5 19:54 /var/tmp/alpine:3.6.tar.gz
42

REPORTING BUGS

44       If  Charliecloud  was  obtained  from your Linux distribution, use your
45       distribution’s bug reporting procedures.
46
47       Otherwise, report bugs to: <https://github.com/hpc/charliecloud/issues>
48

SEE ALSO

50       charliecloud(7)
51
52       Full documentation at: <https://hpc.github.io/charliecloud>
53
55       2014–2020, Triad National Security, LLC
56
57
58
59
600.22              2021-03-08 00:00 Coordinated Universal Time   CH-PULL2TAR(1)
Impressum