podman-container-clone(1) General Commands Manual podman-container-clone(1) (NAME) podman-container-clone - (SYNOPSIS) podman container clone [options] container name image (DESCRIPTION) podman container clone . : (ID) $ORIGINAL_NAME-clone . (OPTIONS) --blkio-weight=weight / (Block IO). weight 10 1000 . (rootless) cgroups V1 . --blkio-weight-device=device:weight / (Block IO). --cpu-period=limit (CPU period) (CFS) . (quota) . 100000 . . : (rootless) cgroups V1 . . --cpu-quota=limit (CFS) . . . . ( --cpu-period ) . . : (rootless) cgroups V1 . . --cpu-rt-period=microseconds (Real-Time) . . . (rootful) cgroups V1 . . --cpu-rt-runtime=microseconds (Real-Time) . . . : 1,000,000 950,000 . cgroup . (rootful) cgroups V1 . --cpu-shares, -c=shares ( ). . . 1024 . . (idle) . . 1024 512 . . 1024 . . . . . . . C0 --cpu- shares=512 C1 --cpu- shares=1024 : +----+-----------+-----+--------------+ |PID | container | CPU | CPU share | +----+-----------+-----+--------------+ |100 | C0 | 0 | 100% of CPU0 | +----+-----------+-----+--------------+ |101 | C1 | 1 | 100% of CPU1 | +----+-----------+-----+--------------+ |102 | C1 | 2 | 100% of CPU2 | +----+-----------+-----+--------------+ . : (rootless) cgroups V1 . . --cpus . (Nano CPUs) . --cpu-period --cpu-quota --cpus --cpu-period --cpu- quota . (rootless) cgroups V1 . --cpuset-cpus=number . ( 0,1) ( 0-3) ( 0-3,7,11-15) . . : (rootless) cgroups V1 . (CPUset) . --cpuset-mems=nodes (MEM) ( 0-3 0,1). NUMA . (0-3) --cpuset-mems=0,1 . . : (rootless) cgroups V1 . . --destroy . --device-read-bps=path:rate ( ) ( --device-read-bps=/dev/sda:1mb). . : (rootless) cgroups V1 . --device-write-bps=path:rate ( ) ( --device-write-bps=/dev/sda:1mb). . : (rootless) cgroups V1 . --force, -f . --destroy . --memory, -m=number[unit] . (unit) b () k () m () g () . . swap --memory RAM . 0 ( --memory) . ( ). (rootless) cgroups V1 . . --memory-reservation=number[unit] (Memory soft limit). (unit) b () k () m () g () . . --memory . . (rootless) cgroups V1 . . --memory-swap=number[unit] swap. (unit) b () k () m () g () . -m (--memory) . -m (--memory) . --memory . swap number -1 . (rootless) cgroups V1 . swap . --memory-swappiness=number swap (swappiness) . 0 100 . (rootful) cgroups V1 . --name . : -clone --pod=name . . . --run true (detached) . (EXAMPLES) : # podman container clone d0cf1f782e2ed67e8c0050ff92df865a039186237a4df24d7acba5b1fa8cc6e7 6b2c73ff8a1982828c9ae2092954bcd59836a131960f7e05221af9df5939c584 : # podman container clone --name=clone d0cf1f782e2ed67e8c0050ff92df865a039186237a4df24d7acba5b1fa8cc6e7 6b2c73ff8a1982828c9ae2092954bcd59836a131960f7e05221af9df5939c584 : # podman container clone --destroy --cpus=5 d0cf1f782e2ed67e8c0050ff92df865a039186237a4df24d7acba5b1fa8cc6e7 6b2c73ff8a1982828c9ae2092954bcd59836a131960f7e05221af9df5939c584 : # podman container clone 2d4d4fca7219b4437e0d74fcdc272c4f031426a6eacd207372691207079551de new_name fedora Resolved "fedora" as an alias (/etc/containers/registries.conf.d/shortnames.conf) Trying to pull registry.fedoraproject.org/fedora:latest... Getting image source signatures Copying blob c6183d119aa8 done Copying config e417cd49a8 done Writing manifest to image destination Storing signatures 5a9b7851013d326aa4ac4565726765901b3ecc01fcbc0f237bc7fd95588a24f9 (SEE ALSO) podman-create(1), cgroups(7) (HISTORY) (Charlie Doern) cdoern@redhat.com podman-container-clone(1)