From 52a869470530f3c6bf7820a2b63fa9e17f227a16 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 10 Nov 2020 14:59:34 +0100 Subject: Add anchors for flag names on docs.podman.io Change the docs markdown so that flag names will be h4 headers. Sphinx will automatically add anchors to headers. Add css to make sure the flag names are not to big compared to the text. The man pages also still renders fine but it looks a bit different. Signed-off-by: Paul Holzinger --- docs/source/markdown/podman-container-restore.1.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'docs/source/markdown/podman-container-restore.1.md') diff --git a/docs/source/markdown/podman-container-restore.1.md b/docs/source/markdown/podman-container-restore.1.md index a7b0f199b..494e7db1e 100644 --- a/docs/source/markdown/podman-container-restore.1.md +++ b/docs/source/markdown/podman-container-restore.1.md @@ -10,7 +10,7 @@ podman\-container\-restore - Restores one or more containers from a checkpoint Restores a container from a checkpoint. You may use container IDs or names as input. ## OPTIONS -**--keep**, **-k** +#### **--keep**, **-k** Keep all temporary log and statistics files created by CRIU during checkpointing as well as restoring. These files are not deleted if restoring @@ -24,17 +24,17 @@ processes in the checkpointed container. Without the **-k**, **--keep** option the checkpoint will be consumed and cannot be used again. -**--all**, **-a** +#### **--all**, **-a** Restore all checkpointed containers. -**--latest**, **-l** +#### **--latest**, **-l** Instead of providing the container name or ID, restore the last created container. The latest option is not supported on the remote client. -**--tcp-established** +#### **--tcp-established** Restore a container with established TCP connections. If the checkpoint image contains established TCP connections, this option is required during restore. @@ -42,13 +42,13 @@ If the checkpoint image does not contain established TCP connections this option is ignored. Defaults to not restoring containers with established TCP connections. -**--import**, **-i** +#### **--import**, **-i** Import a checkpoint tar.gz file, which was exported by Podman. This can be used to import a checkpointed container from another host. Do not specify a *container* argument when using this option. -**--name**, **-n** +#### **--name**, **-n** This is only available in combination with **--import, -i**. If a container is restored from a checkpoint tar.gz file it is possible to rename it with **--name, -n**. This @@ -60,14 +60,14 @@ address to the container it was using before checkpointing as each IP address ca be used once and the restored container will have another IP address. This also means that **--name, -n** cannot be used in combination with **--tcp-established**. -**--ignore-rootfs** +#### **--ignore-rootfs** This is only available in combination with **--import, -i**. If a container is restored from a checkpoint tar.gz file it is possible that it also contains all root file-system changes. With **--ignore-rootfs** it is possible to explicitly disable applying these root file-system changes to the restored container. -**--ignore-static-ip** +#### **--ignore-static-ip** If the container was started with **--ip** the restored container also tries to use that IP address and restore fails if that IP address is already in use. This can happen, if @@ -76,7 +76,7 @@ a container is restored multiple times from an exported checkpoint with **--name Using **--ignore-static-ip** tells Podman to ignore the IP address if it was configured with **--ip** during container creation. -**--ignore-static-mac** +#### **--ignore-static-mac** If the container was started with **--mac-address** the restored container also tries to use that MAC address and restore fails if that MAC address is already -- cgit v1.2.3-54-g00ecf