spiegel_podman/docs/source/markdown
cdoern 94df701512 Implement Podman Container Clone
podman container clone takes the id of an existing continer and creates a specgen from the given container's config
recreating all proper namespaces and overriding spec options like resource limits and the container name if given in the cli options

this command utilizes the common function DefineCreateFlags meaning that we can funnel as many create options as we want
into clone over time allowing the user to clone with as much or as little of the original config as they want.

container clone takes a second argument which is a new name and a third argument which is an image name to use instead of the original container's

the current supported flags are:

--destroy (remove the original container)
--name (new ctr name)
--cpus (sets cpu period and quota)
--cpuset-cpus
--cpu-period
--cpu-rt-period
--cpu-rt-runtime
--cpu-shares
--cpuset-mems
--memory
--run

resolves #10875

Signed-off-by: cdoern <cdoern@redhat.com>
Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
Signed-off-by: cdoern <cdoern@redhat.com>
2022-02-20 21:11:14 -05:00
..
links Add podman image/container inspect man pages 2021-09-20 12:06:26 -04:00
podman-attach.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-auto-update.1.md [CI:DOCS] Add CI check for SEE ALSO in man pages 2021-11-10 09:03:40 -07:00
podman-build.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-commit.1.md [CI:DOCS] UPDATE manpages with MANPAGE_SYNTAX 2021-06-16 17:44:11 +02:00
podman-completion.1.md Merge pull request #12193 from yahavi/patch-1 2021-11-11 16:17:41 +01:00
podman-container-checkpoint.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-container-cleanup.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-container-clone.1.md Implement Podman Container Clone 2022-02-20 21:11:14 -05:00
podman-container-diff.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-container-exists.1.md [CI:DOCS] Fix typos and improve language 2022-01-24 19:34:36 +01:00
podman-container-inspect.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-container-prune.1.md Fix sort ordering of filters 2022-01-27 07:19:02 -05:00
podman-container-restore.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-container-runlabel.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-container.1.md Implement Podman Container Clone 2022-02-20 21:11:14 -05:00
podman-cp.1.md Add no-trunc support to podman-events 2021-09-16 09:41:29 -04:00
podman-create.1.md Merge pull request #13066 from rhatdan/man 2022-02-01 15:41:36 -05:00
podman-diff.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-events.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-exec.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-export.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-generate-kube.1.md [CI:DOCS] Fix typos and improve language 2022-01-24 19:34:36 +01:00
podman-generate-systemd.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-generate.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-healthcheck-run.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-healthcheck.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-history.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-image-diff.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-image-exists.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-image-inspect.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-image-mount.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-image-prune.1.md Fix sort ordering of filters 2022-01-27 07:19:02 -05:00
podman-image-scp.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-image-sign.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-image-tree.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-image-trust.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-image-unmount.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-image.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-images.1.md Adapt podman images ls filters docs to be aligned with prune filters docs 2022-01-29 22:50:49 +01:00
podman-import.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-info.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-init.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-inspect.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-kill.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-load.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-login.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-logout.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-logs.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-machine-init.1.md Introduce podman machine init --root=t|f and podman machine set --root=t|f 2022-02-16 03:49:17 -06:00
podman-machine-list.1.md [CI:DOCS] Fix typos and improve language 2022-01-24 19:34:36 +01:00
podman-machine-rm.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-machine-set.1.md Introduce podman machine init --root=t|f and podman machine set --root=t|f 2022-02-16 03:49:17 -06:00
podman-machine-ssh.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-machine-start.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-machine-stop.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-machine.1.md Introduce podman machine init --root=t|f and podman machine set --root=t|f 2022-02-16 03:49:17 -06:00
podman-manifest-add.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-manifest-annotate.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-manifest-create.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-manifest-exists.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-manifest-inspect.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-manifest-push.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-manifest-remove.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-manifest-rm.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-manifest.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-mount.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-network-connect.1.md network connect allow ip, ipv6 and mac address 2021-12-14 15:23:39 +01:00
podman-network-create.1.md podman network: add documentation for netavark 2022-02-15 16:46:23 +01:00
podman-network-disconnect.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-network-exists.1.md [CI:DOCS] Fix typos and improve language 2022-01-24 19:34:36 +01:00
podman-network-inspect.1.md podman network: add documentation for netavark 2022-02-15 16:46:23 +01:00
podman-network-ls.1.md Unify ls --filter docs for networks and pods 2022-02-15 23:54:45 +01:00
podman-network-prune.1.md Fix sort ordering of filters 2022-01-27 07:19:02 -05:00
podman-network-reload.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-network-rm.1.md podman network: add documentation for netavark 2022-02-15 16:46:23 +01:00
podman-network.1.md podman network: add documentation for netavark 2022-02-15 16:46:23 +01:00
podman-pause.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-play-kube.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-play.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-pod-create.1.md Merge pull request #12930 from cdoern/podCgroup 2022-02-04 09:41:12 -05:00
podman-pod-exists.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-pod-inspect.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod-kill.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod-logs.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod-pause.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod-prune.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-pod-ps.1.md Unify ls --filter docs for networks and pods 2022-02-15 23:54:45 +01:00
podman-pod-restart.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod-rm.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod-start.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod-stats.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod-stop.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod-top.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod-unpause.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pod.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-port.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-ps.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-pull.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-push.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-remote.1.md Document schema values in the --url flag 2022-02-02 18:07:10 -05:00
podman-rename.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-restart.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-rm.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-rmi.1.md [CI:DOCS] Add CI check for SEE ALSO in man pages 2021-11-10 09:03:40 -07:00
podman-run.1.md Merge pull request #13066 from rhatdan/man 2022-02-01 15:41:36 -05:00
podman-save.1.md Fix documentation of (podman image save --compress --uncompressed) 2021-12-02 22:29:16 +01:00
podman-search.1.md Fix wrong 'podman search --format' placeholder 2022-01-04 17:04:19 +01:00
podman-secret-create.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-secret-inspect.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-secret-ls.1.md Add secret list --filter to cli 2021-12-14 10:41:03 +01:00
podman-secret-rm.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-secret.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-start.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-stats.1.md Merge pull request #13104 from giuseppe/fix-podman-stats-comment 2022-02-02 10:41:27 -05:00
podman-stop.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-system-connection-add.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-system-connection-default.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-system-connection-list.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-system-connection-remove.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-system-connection-rename.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-system-connection.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-system-df.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-system-migrate.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-system-prune.1.md Fix sort ordering of filters 2022-01-27 07:19:02 -05:00
podman-system-renumber.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-system-reset.1.md system prune: remove all networks 2022-02-03 13:14:07 +01:00
podman-system-service.1.md Add support for retrieving system service --timeout 2021-09-20 12:10:14 -04:00
podman-system.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-tag.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-top.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-unmount.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman-unpause.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-unshare.1.md Fix possible rootless netns cleanup race 2021-12-01 19:19:44 +01:00
podman-untag.1.md [CI:DOCS] Fix typos and improve language 2022-01-24 19:34:36 +01:00
podman-version.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-volume-create.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-volume-exists.1.md [CI:DOCS] Fix typos and improve language 2022-01-24 19:34:36 +01:00
podman-volume-export.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-volume-import.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-volume-inspect.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-volume-ls.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-volume-prune.1.md Fix sort ordering of filters 2022-01-27 07:19:02 -05:00
podman-volume-rm.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-volume.1.md Add links to all SEE ALSO sections 2021-11-10 09:29:21 -05:00
podman-wait.1.md Clarify remote client means Mac and Windows 2022-01-28 08:14:05 -05:00
podman.1.md podman network: add documentation for netavark 2022-02-15 16:46:23 +01:00