podman/docs/source/markdown
Matthew Heon 6f1440a3ec Add support for the unless-stopped restart policy
We initially believed that implementing this required support for
restarting containers after reboot, but this is not the case.
The unless-stopped restart policy acts identically to the always
restart policy except in cases related to reboot (which we do not
support yet), but it does not require that support for us to
implement it.

Changes themselves are quite simple, we need a new restart policy
constant, we need to remove existing checks that block creation
of containers when unless-stopped was used, and we need to update
the manpages.

Fixes #6508

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-06-17 11:16:12 -04:00
..
links Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
containers-mounts.conf.5.md [docs] Ensure we include section 5 documentation 2019-11-02 13:48:47 +01:00
libpod.conf.5.md libpod.conf: clarify `label` description 2020-02-19 11:04:02 +01:00
podman-attach.1.md Allow users to disable detach keys 2019-11-05 14:10:43 -05:00
podman-auto-update.1.md Give `auto-update` ability to use per-container authfile specified by label. 2020-05-17 11:37:12 +02:00
podman-build.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-commit.1.md Implemented --iidfile for podman commit 2020-03-19 16:32:02 -04:00
podman-container-checkpoint.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-container-cleanup.1.md Add ability to clean up exec sessions with cleanup 2020-05-20 16:11:05 -04:00
podman-container-exists.1.md docs: remove reference to "sudo" in "podman exists" examples 2020-01-26 12:43:26 -05:00
podman-container-prune.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-container-restore.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-container-runlabel.1.md man page cross-reference fixes: part 2 2020-03-11 11:05:37 -06:00
podman-container.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-cp.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-create.1.md Add support for the unless-stopped restart policy 2020-06-17 11:16:12 -04:00
podman-diff.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-events.1.md podman-events: clarify streaming behaviour 2020-06-10 11:09:12 +02:00
podman-exec.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-export.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-generate-kube.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-generate-systemd.1.md generate systemd: create pod template 2020-06-11 11:01:13 +02:00
podman-generate.1.md Update podman-generate-systemd man page 2020-04-16 09:17:27 -04:00
podman-healthcheck-run.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-healthcheck.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-history.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-image-diff.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-image-exists.1.md docs: remove reference to "sudo" in "podman exists" examples 2020-01-26 12:43:26 -05:00
podman-image-prune.1.md note for skipping cache image added. 2020-04-15 02:49:47 +00:00
podman-image-sign.1.md codespell: spelling corrections 2019-11-13 08:15:00 +11:00
podman-image-tree.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-image-trust.1.md (minor) fix broken links to container-policy.json.5 2020-01-06 08:34:56 -07:00
podman-image.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-images.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-import.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-info.1.md add socket information to podman info 2020-06-03 15:20:37 -05:00
podman-init.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-inspect.1.md markdown: reword 'podman-inspect' to properly explain '--size' 2020-01-22 10:02:06 -05:00
podman-kill.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-load.1.md Allow users to set TMPDIR environment 2020-03-06 10:21:37 -05:00
podman-login.1.md update document login see config.json as valid 2020-06-11 13:24:21 -04:00
podman-logout.1.md fix mandatory parameter in login/logout 2020-02-18 15:30:49 -05:00
podman-logs.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-manifest-add.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest-annotate.1.md manifest annotate 2020-05-05 15:01:32 -04:00
podman-manifest-create.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest-inspect.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest-push.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-manifest-remove.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-mount.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-network-create.1.md Fixed typo on podman network create man 2020-05-08 13:18:23 +02:00
podman-network-inspect.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-network-ls.1.md filter option added to network ls command. 2020-05-20 02:53:47 +00:00
podman-network-rm.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-network.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-play-kube.1.md Add support for specifying CNI networks in podman play kube 2020-03-27 10:00:01 +01:00
podman-play.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-create.1.md pod create --replace 2020-06-15 15:55:55 +02:00
podman-pod-exists.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-inspect.1.md Add --format to pod inspect 2020-05-27 09:48:38 +03:00
podman-pod-kill.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-pause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-prune.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-pod-ps.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-pod-restart.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-rm.1.md podman-pod{rm,start,stop}: support --pod-id-file 2020-06-11 11:01:13 +02:00
podman-pod-start.1.md podman-pod{rm,start,stop}: support --pod-id-file 2020-06-11 11:01:13 +02:00
podman-pod-stats.1.md implement pod stats 2020-04-27 12:00:35 +02:00
podman-pod-stop.1.md podman-pod{rm,start,stop}: support --pod-id-file 2020-06-11 11:01:13 +02:00
podman-pod-top.1.md docs: update podman-{pod-,}top man pages 2019-12-11 10:50:27 +01:00
podman-pod-unpause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod.1.md Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
podman-port.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-ps.1.md podman-ps: support image IDs 2020-02-17 15:22:21 +01:00
podman-pull.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-push.1.md Cleanup man pages for pull and push 2020-04-25 06:33:06 -04:00
podman-remote.1.md Add deprecated message to varlink command 2020-06-15 11:41:57 -07:00
podman-remote.conf.5.md [docs] Ensure we include section 5 documentation 2019-11-02 13:48:47 +01:00
podman-restart.1.md Switch to using --time as opposed to --timeout to better match Docker. 2020-03-31 08:50:32 -04:00
podman-rm.1.md Merge pull request #4974 from rhatdan/man 2020-01-28 03:28:18 -08:00
podman-rmi.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-run.1.md Add support for the unless-stopped restart policy 2020-06-17 11:16:12 -04:00
podman-save.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-search.1.md search --limit compatible with docker 2020-05-01 11:20:19 -04:00
podman-start.1.md Allow users to disable detach keys 2019-11-05 14:10:43 -05:00
podman-stats.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-stop.1.md Switch to using --time as opposed to --timeout to better match Docker. 2020-03-31 08:50:32 -04:00
podman-system-df.1.md markdown: fix erroneous asterisk markup for options 2020-01-30 06:44:33 -05:00
podman-system-migrate.1.md markdown: fix formatting/content typos in migrate man page 2020-01-22 06:16:12 -05:00
podman-system-prune.1.md docs: fix system-prune markdown; reword for clarity 2020-01-26 07:46:21 -05:00
podman-system-renumber.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-system-reset.1.md Add podman system reset command 2019-11-29 05:34:52 -05:00
podman-system-service.1.md Add deprecated message to varlink command 2020-06-15 11:41:57 -07:00
podman-system.1.md Move podman-service to podman-system-service 2020-02-06 13:41:57 -05:00
podman-tag.1.md Update `tag` documentation regarding 'alias' usage 2020-01-17 08:51:36 +01:00
podman-top.1.md docs: update podman-{pod-,}top man pages 2019-12-11 10:50:27 +01:00
podman-umount.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-unpause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-unshare.1.md markdown: fix grammar/formatting, standardize on markdown 2020-01-23 06:59:21 -05:00
podman-untag.1.md Add `untag` sub-command 2020-01-08 10:06:10 +01:00
podman-version.1.md podman version --format ... was not working 2020-05-21 16:31:34 -04:00
podman-volume-create.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-volume-inspect.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-volume-ls.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-volume-prune.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-volume-rm.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-volume.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-wait.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman.1.md Add deprecated message to varlink command 2020-06-15 11:41:57 -07:00