diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2021-08-02 17:15:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 17:15:54 +0000 |
commit | bdbc21095a377a723df1f5c36fdc70273fe9a471 (patch) | |
tree | 107c854c67dd7baf8bd63b11f5404de8bd642f74 /docs/source/markdown/podman-image-scp.1.md | |
parent | 0e2a7be0ec825449a1b95bd5df13e2519c67dcb4 (diff) | |
parent | 1d10ca739f3599b9bd746783ad15c8f51ce9f75c (diff) | |
download | podman-bdbc21095a377a723df1f5c36fdc70273fe9a471.tar.gz podman-bdbc21095a377a723df1f5c36fdc70273fe9a471.tar.bz2 podman-bdbc21095a377a723df1f5c36fdc70273fe9a471.zip |
Merge pull request #10828 from cdoern/scp
Created image scp feature
Diffstat (limited to 'docs/source/markdown/podman-image-scp.1.md')
-rw-r--r-- | docs/source/markdown/podman-image-scp.1.md | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-image-scp.1.md b/docs/source/markdown/podman-image-scp.1.md new file mode 100644 index 000000000..7d143c851 --- /dev/null +++ b/docs/source/markdown/podman-image-scp.1.md @@ -0,0 +1,69 @@ +% podman-image-scp(1) + +## NAME +podman-image-scp - Securely copy an image from one host to another + +## SYNOPSIS +**podman image scp** [*options*] *name*[:*tag*] + +## DESCRIPTION +**podman image scp** copies container images between hosts on a network. You can load to the remote host or from the remote host as well as in between two remote hosts. +Note: `::` is used to specify the image name depending on if you are saving or loading. + +**podman image scp [GLOBAL OPTIONS]** + +**podman image** *scp [OPTIONS] NAME[:TAG] [HOSTNAME::]* + +**podman image** *scp [OPTIONS] [HOSTNAME::]IMAGENAME* + +**podman image** *scp [OPTIONS] [HOSTNAME::]IMAGENAME [HOSTNAME::]* + +## OPTIONS + +#### **--quiet**, **-q** + +Suppress the output + +#### **--help**, **-h** + +Print usage statement + +## EXAMPLES + + +``` +$ podman image scp alpine +Loaded image(s): docker.io/library/alpine:latest +``` + +``` +$ podman image scp alpine Fedora::/home/charliedoern/Documents/alpine +Getting image source signatures +Copying blob 72e830a4dff5 done +Copying config 85f9dc67c7 done +Writing manifest to image destination +Storing signatures +Loaded image(s): docker.io/library/alpine:latest +``` + +``` +$ podman image scp Fedora::alpine RHEL:: +Loaded image(s): docker.io/library/alpine:latest +``` + +``` +$ podman image scp charliedoern@192.168.68.126:22/run/user/1000/podman/podman.sock::alpine +WARN[0000] Unknown connection name given. Please use system connection add to specify the default remote socket location +Getting image source signatures +Copying blob 9450ef9feb15 [--------------------------------------] 0.0b / 0.0b +Copying config 1f97f0559c done +Writing manifest to image destination +Storing signatures +Loaded images(s): docker.io/library/alpine:latest +``` + +## SEE ALSO +podman(1), podman-load(1), podman-save(1), podman-remote(1), podman-system-connection-add(1), containers.conf(5), containers-transports(5) + +## HISTORY +July 2021, Originally written by Charlie Doern <cdoern@redhat.com> |