podman-pod-clone(1) General Commands Manual podman-pod-clone(1) (NAME) podman-pod-clone - (SYNOPSIS) podman pod clone [] [] (DESCRIPTION) podman pod clone . . (OPTIONS) --blkio-weight=weight / ( ) 10 1000 0 ( 0) --blkio-weight-device=device:weight / ( ) --cgroup-parent=path (cgroup) --cpu-shares, -c=shares ( ) . . 1024 --cpu-shares 2 . . . . cpu-share 1024 cpu- share 512 . %100 %50 . cpu-share 1024 %33 . %16.5 %16.5 %33 . . %100 %100 . . {C0} -c=512 {C1} -c=1024 : PID container CPU CPU share 100 {C0} 0 100% of CPU0 101 {C1} 1 100% of CPU1 102 {C1} 2 100% of CPU2 --cpus --cpuset-cpus=number (0-3, 0,1) --cpuset-mems=nodes (0-3, 0,1) --destroy . --device=host-device[:container-device][:permissions] --device-read-bps=path:rate ( ) --device-write-bps=path:rate ( ) --gidmap=container_gid:from_gid[:amount] (GID) (rootless). --gpus=ENTRY (GPU) ('all' GPU) --help, -h -h, --hostname="" --hostname=name (hostname) . --infra-command=command . --infra-conmon-pidfile=file (PID) conmon . --infra-name=name . --label, -l=key=value label ( label=value) . . label = value label . LABEL io.containers.capabilities=CAP1,CAP2,CAP3 Containerfile (capabilities) . Podman . . . --label-file=file --memory, -m=number[unit] (: [] b k m g ) . swap -m (RAM) . 0 ( -m) . ( ). --memory-swap=number[unit] (swap) swap '-1' swap --name, -n --pid=pid PID --restart=policy --security-opt=option --shm-size=number[unit] /dev/shm --shm-size-systemd=number[unit] /dev/shm systemd. --start . --subgidname=name /etc/subgid . --subuidname=name /etc/subuid . --sysctl=name=value sysctl --uidmap=container_uid:from_uid[:amount] (UID) . --userns=mode --uts=mode UTS -v, --volume= bind mount --volume, -v=[[SOURCE-VOLUME|HOST-DIR:]CONTAINER-DIR[:OPTIONS]] (bind mount). -v /HOST-DIR:/CONTAINER-DIR Podman /HOST-DIR /CONTAINER-DIR Podman . OPTIONS : o [rw|ro] o [U] o [z|Z|O] o [[r]shared|[r]slave|[r]private|[r]unbindable] [1] <#Footnote1> CONTAINER-DIR /src/docs . HOST- DIR . Podman HOST-DIR bind-mount . /foo Podman /foo bind-mount . -v . (Write Protected Volume Mounts) :ro :rw - . - . . (Chowning Volume Mounts) Podman . (user namespace) UID GID UID GID . :U Podman UID GID UID GID . (Labeling Volume Mounts) SELinux . . Podman . :z :Z . Podman . z Podman . Podman . / . Z Podman . . (Overlay Volume Mounts) :O Podman Overlay . RUN . Overlay lower upper . RUN tmpfs. RUN RUN . overlay (package cache) . : o O Z z . . SELinux . SELinux . o overlay . . bind-mount private . . . shared . slave . :[r]shared :[r]slave [r]private [r]unbindable . bind-mount . ( ) . shared shared . slave shared slave . [1] <#Footnote1> df findmnt -o TARGET,PROPAGATION findmnt mount /proc/self/mountinfo . optional fields . shared:X shared master:X slave private . [1] <#Footnote1> mount . bind-mount /foo mount --bind /foo /foo mount --make-private --make-shared /foo . /foo shared . . / /foo mount --make-shared / / shared . : . (Idmapped mount) idmap . idmap . idmap : idmap=uids=0-1-10#10-11-10;gids=0-100-10. . . # . --volumes-from=CONTAINER[:OPTIONS] () . . options : o rw|ro o z . CONTAINER . --volumes-from . . Podman (- ) . ro rw . SELinux . . Podman . z . Podman . z Podman . Podman . . . (EXAMPLES) : # podman pod clone pod-name 6b2c73ff8a1982828c9ae2092954bcd59836a131960f7e05221af9df5939c584 : # podman pod clone pod-name --name=cloned-pod d0cf1f782e2ed67e8c0050ff92df865a039186237a4df24d7acba5b1fa8cc6e7 6b2c73ff8a1982828c9ae2092954bcd59836a131960f7e05221af9df5939c584 : # podman pod clone --destroy --cpus=5 d0cf1 6b2c73ff8a1982828c9ae2092954bcd59836a131960f7e05221af9df5939c584 : # podman pod clone 2d4d4fca7219b4437e0d74fcdc272c4f031426a6eacd207372691207079551de new_name 5a9b7851013d326aa4ac4565726765901b3ecc01fcbc0f237bc7fd95588a24f9 : # podman pod clone --memory=1g --memory-swap=2g pod-name 6b2c73ff8a1982828c9ae2092954bcd59836a131960f7e05221af9df5939c584 : # podman pod clone --cpus=2.5 --cpu-shares=1024 pod-name 6b2c73ff8a1982828c9ae2092954bcd59836a131960f7e05221af9df5939c584 (SEE ALSO) podman(1), podman-pod(1), podman-pod-create(1) (HISTORY) Charlie Doern . (FOOTNOTES) : Podman . (mount propagation) master slave . . Podman . podman-pod-clone(1)