summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2021-05-18 12:04:59 +0000
committerAdrian Reber <adrian@lisas.de>2021-06-04 13:29:02 +0200
commite23c5b25f128a18b5b5c8d76cc0991f62005ae25 (patch)
treeabf8aeb969a824efb07041a080fe9e576bf440b3 /docs/source
parent837ba7ec37d00d1289fa7d9e37e7739a97ad4756 (diff)
downloadpodman-e23c5b25f128a18b5b5c8d76cc0991f62005ae25.tar.gz
podman-e23c5b25f128a18b5b5c8d76cc0991f62005ae25.tar.bz2
podman-e23c5b25f128a18b5b5c8d76cc0991f62005ae25.zip
Add restore --publish to the man page
Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/markdown/podman-container-restore.1.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-container-restore.1.md b/docs/source/markdown/podman-container-restore.1.md
index ef8722279..82bf76d1e 100644
--- a/docs/source/markdown/podman-container-restore.1.md
+++ b/docs/source/markdown/podman-container-restore.1.md
@@ -95,6 +95,19 @@ This option must be used in combination with the **--import, -i** option.
When restoring containers from a checkpoint tar.gz file with this option,
the content of associated volumes will not be restored.
+#### **--publish**, **-p**
+
+Replaces the ports that the container publishes, as configured during the
+initial container start, with a new set of port forwarding rules.
+
+```
+# podman run --rm -p 2345:80 -d webserver
+# podman container checkpoint -l --export=dump.tar
+# podman container restore -p 5432:8080 --import=dump.tar
+```
+
+For more details please see **podman run --publish**.
+
## EXAMPLE
podman container restore mywebserver
@@ -104,7 +117,7 @@ podman container restore 860a4b23
podman container restore --import-previous pre-checkpoint.tar.gz --import checkpoint.tar.gz
## SEE ALSO
-podman(1), podman-container-checkpoint(1)
+podman(1), podman-container-checkpoint(1), podman-run(1)
## HISTORY
September 2018, Originally compiled by Adrian Reber <areber@redhat.com>