summaryrefslogtreecommitdiff
path: root/cmd/podman/manifest
diff options
context:
space:
mode:
authorDave Baker <dbaker@redhat.com>2020-11-17 16:34:32 -0500
committerDave Baker <dbaker@redhat.com>2020-11-17 20:54:37 -0500
commitbd104d2948893727add27de8e07fdf1874afdee3 (patch)
treeda1df3989d937ee0269a159ce16948979182b730 /cmd/podman/manifest
parent65880e556314d1d8cb3cf12e20666b823eab8c76 (diff)
downloadpodman-bd104d2948893727add27de8e07fdf1874afdee3.tar.gz
podman-bd104d2948893727add27de8e07fdf1874afdee3.tar.bz2
podman-bd104d2948893727add27de8e07fdf1874afdee3.zip
Fix example for manifest push
Signed-off-by: Dave Baker <dbaker@redhat.com>
Diffstat (limited to 'cmd/podman/manifest')
-rw-r--r--cmd/podman/manifest/manifest.go2
-rw-r--r--cmd/podman/manifest/push.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/manifest/manifest.go b/cmd/podman/manifest/manifest.go
index c3bcdc8c7..990ad0e95 100644
--- a/cmd/podman/manifest/manifest.go
+++ b/cmd/podman/manifest/manifest.go
@@ -18,7 +18,7 @@ var (
podman manifest create localhost/list
podman manifest inspect localhost/list
podman manifest annotate --annotation left=right mylist:v1.11 image:v1.11-amd64
- podman manifest push mylist:v1.11 quay.io/myimagelist
+ podman manifest push mylist:v1.11 docker://quay.io/myuser/image:v1.11
podman manifest remove mylist:v1.11 sha256:15352d97781ffdf357bf3459c037be3efac4133dc9070c2dce7eca7c05c3e736`,
}
)
diff --git a/cmd/podman/manifest/push.go b/cmd/podman/manifest/push.go
index 593d62710..a3b469491 100644
--- a/cmd/podman/manifest/push.go
+++ b/cmd/podman/manifest/push.go
@@ -28,7 +28,7 @@ var (
Short: "Push a manifest list or image index to a registry",
Long: "Pushes manifest lists and image indexes to registries.",
RunE: push,
- Example: `podman manifest push mylist:v1.11 quay.io/myimagelist`,
+ Example: `podman manifest push mylist:v1.11 docker://quay.io/myuser/image:v1.11`,
Args: cobra.ExactArgs(2),
ValidArgsFunction: common.AutocompleteImages,
}