1podman-image-scp(1)         General Commands Manual        podman-image-scp(1)
2
3
4

NAME

6       podman-image-scp - Securely copy an image from one host to another
7
8

SYNOPSIS

10       podman image scp [options] name[:tag]
11
12

DESCRIPTION

14       podman  image  scp  copies container images between hosts on a network.
15       You can load to the remote host or from the remote host as well  as  in
16       between  two  remote hosts.  Note: :: is used to specify the image name
17       depending on if you are saving or loading. Images can  also  be  trans‐
18       ferred from rootful to rootless storage on the same machine without us‐
19       ing sshd. This feature is not supported on the remote client, including
20       Mac and Windows (excluding WSL2) machines.
21
22
23       podman image scp [GLOBAL OPTIONS]
24
25
26       podman image scp [OPTIONS] NAME[:TAG] [HOSTNAME::]
27
28
29       podman image scp [OPTIONS] [HOSTNAME::]IMAGENAME
30
31
32       podman image scp [OPTIONS] [HOSTNAME::]IMAGENAME [HOSTNAME::]
33
34

OPTIONS

36   --help, -h
37       Print usage statement
38
39
40   --quiet, -q
41       Suppress the output
42
43

EXAMPLES

45              $ podman image scp alpine
46              Loaded image: docker.io/library/alpine:latest
47
48
49
50              $ podman image scp alpine Fedora::/home/charliedoern/Documents/alpine
51              Getting image source signatures
52              Copying blob 72e830a4dff5 done
53              Copying config 85f9dc67c7 done
54              Writing manifest to image destination
55              Storing signatures
56              Loaded image: docker.io/library/alpine:latest
57
58
59
60              $ podman image scp Fedora::alpine RHEL::
61              Loaded image: docker.io/library/alpine:latest
62
63
64
65              $ podman image scp charliedoern@192.168.68.126:22/run/user/1000/podman/podman.sock::alpine
66              WARN[0000] Unknown connection name given. Please use system connection add to specify the default remote socket location
67              Getting image source signatures
68              Copying blob 9450ef9feb15 [--------------------------------------] 0.0b / 0.0b
69              Copying config 1f97f0559c done
70              Writing manifest to image destination
71              Storing signatures
72              Loaded image: docker.io/library/alpine:latest
73
74
75
76              $ sudo podman image scp root@localhost::alpine username@localhost::
77              Copying blob e2eb06d8af82 done
78              Copying config 696d33ca15 done
79              Writing manifest to image destination
80              Storing signatures
81              Getting image source signatures
82              Copying blob 5eb901baf107 skipped: already exists
83              Copying config 696d33ca15 done
84              Writing manifest to image destination
85              Storing signatures
86              Loaded image: docker.io/library/alpine:latest
87
88
89
90              $ sudo podman image scp root@localhost::alpine
91              Copying blob e2eb06d8af82 done
92              Copying config 696d33ca15 done
93              Writing manifest to image destination
94              Storing signatures
95              Getting image source signatures
96              Copying blob 5eb901baf107
97              Copying config 696d33ca15 done
98              Writing manifest to image destination
99              Storing signatures
100              Loaded image: docker.io/library/alpine:latest
101
102
103

SEE ALSO

105       podman(1),  podman-load(1),  podman-save(1),  podman-remote(1), podman-
106       system-connection-add(1), containers.conf(5), containers-transports(5)
107
108

HISTORY

110       July  2021,  Originally  written  by  Charlie  Doern  cdoern@redhat.com
111       ⟨mailto:cdoern@redhat.com⟩
112
113
114
115                                                           podman-image-scp(1)
Impressum