summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-push.1.md
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-11-24 07:31:43 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2020-11-29 06:28:39 -0500
commit9ba52e8ef0e0fe69fac296a10e1bc6aecc2d25e5 (patch)
tree22bd43c3c0dded13bd47bd92d282e3c328212609 /docs/source/markdown/podman-push.1.md
parent8b2c0a4fa3f85ec27f1460fa9fe4b3b1313b901a (diff)
downloadpodman-9ba52e8ef0e0fe69fac296a10e1bc6aecc2d25e5.tar.gz
podman-9ba52e8ef0e0fe69fac296a10e1bc6aecc2d25e5.tar.bz2
podman-9ba52e8ef0e0fe69fac296a10e1bc6aecc2d25e5.zip
Document docker transport is the only supported remote transport
The goal is to improve errors when users use the wrong transport in certain cases we stutter, in other cases we don't give enough information. Remove stutters when failing to pull remote images, because of lack of support. Fix errors returned by reference.Parse to wrap in image that was being checked. Fixes: https://github.com/containers/podman/issues/7116 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-push.1.md')
-rw-r--r--docs/source/markdown/podman-push.1.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-push.1.md b/docs/source/markdown/podman-push.1.md
index 87e64858c..68ea528cb 100644
--- a/docs/source/markdown/podman-push.1.md
+++ b/docs/source/markdown/podman-push.1.md
@@ -29,18 +29,28 @@ Images are pushed from those stored in local image storage.
**dir:**_path_
An existing local directory _path_ storing the manifest, layer tarballs and signatures as individual files. This is a non-standardized format, primarily useful for debugging or noninvasive container inspection.
+ $ podman push myimage dir:/tmp/myimage
+
**docker://**_docker-reference_
An image in a registry implementing the "Docker Registry HTTP API V2". By default, uses the authorization state in `$XDG_RUNTIME_DIR/containers/auth.json`, which is set using `(podman login)`. If the authorization state is not found there, `$HOME/.docker/config.json` is checked, which is set using `(docker login)`.
+ $ podman push myimage quay.io/username/myimage
+
**docker-archive:**_path_[**:**_docker-reference_]
An image is stored in the `docker save` formatted file. _docker-reference_ is only used when creating such a file, and it must not contain a digest.
+ $ podman push myimage docker-archive:/tmp/myimage
+
**docker-daemon:**_docker-reference_
- An image _docker-reference_ stored in the docker daemon internal storage. _docker-reference_ must contain either a tag or a digest. Alternatively, when reading images, the format can also be docker-daemon:algo:digest (an image ID).
+ An image in _docker-reference_ format stored in the docker daemon internal storage. _docker-reference_ must contain a tag.
+
+ $ sudo podman push myimage docker-daemon:docker.io/library/myimage:33
**oci-archive:**_path_**:**_tag_
An image _tag_ in a directory compliant with "Open Container Image Layout Specification" at _path_.
+ $ podman push myimage oci-archive:/tmp/myimage
+
## OPTIONS
#### **--authfile**=*path*