aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-30 07:20:09 -0700
committerGitHub <noreply@github.com>2019-09-30 07:20:09 -0700
commit2c23729c84775113a6c2cd7593f588cc6ea4e5fa (patch)
tree6997ee622c30cc82af8aa09bb4645d8d6334c947 /docs
parent150ba5edede258a3a64afdd6f58b8bf6083dc7a6 (diff)
parentbe9dbb47d2212c453e3c417a70d4e6d26d5107e4 (diff)
downloadpodman-2c23729c84775113a6c2cd7593f588cc6ea4e5fa.tar.gz
podman-2c23729c84775113a6c2cd7593f588cc6ea4e5fa.tar.bz2
podman-2c23729c84775113a6c2cd7593f588cc6ea4e5fa.zip
Merge pull request #4001 from kunalkushwaha/podman-import-fix
podman import syntax fix
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-import.1.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/podman-import.1.md b/docs/podman-import.1.md
index 5e57c1bcb..946b680dd 100644
--- a/docs/podman-import.1.md
+++ b/docs/podman-import.1.md
@@ -55,6 +55,26 @@ db65d991f3bbf7f31ed1064db9a6ced7652e3f8166c4736aa9133dadd3c7acb3
```
```
+$ podman import --change "ENTRYPOINT ["/bin/sh","-c","test-image"]" --change LABEL=blue=image test-image.tar image-imported
+Getting image source signatures
+Copying blob e3b0c44298fc skipped: already exists
+Copying config 1105523502 done
+Writing manifest to image destination
+Storing signatures
+110552350206337183ceadc0bdd646dc356e06514c548b69a8917b4182414b
+```
+```
+$ podman import --change "CMD /bin/sh" --change LABEL=blue=image test-image.tar image-imported
+Getting image source signatures
+Copying blob e3b0c44298fc skipped: already exists
+Copying config ae9a27e249 done
+Writing manifest to image destination
+Storing signatures
+ae9a27e249f801aff11a4ba54a81751ea9fbc9db45a6df3f1bfd63fc2437bb9c
+```
+
+
+```
$ cat ctr.tar | podman -q import --message "importing the ctr.tar tarball" - image-imported
db65d991f3bbf7f31ed1064db9a6ced7652e3f8166c4736aa9133dadd3c7acb3
```