Merge pull request #3623 from TomSweeneyRedHat/dev/tsweeney/pimagereadme
Change wait to sleep in podmanimage readme
This commit is contained in:
commit
ce60c4d30c
|
|
@ -30,7 +30,7 @@ mkdir /var/lib/mycontainer
|
|||
# Run the image detached using the host's network in a container name
|
||||
# podmanctr, turn off label and seccomp confinement in the container
|
||||
# and then do a little shell hackery to keep the container up and running.
|
||||
podman run --detach --name=podmanctr --net=host --security-opt label=disable --security-opt seccomp=unconfined --device /dev/fuse:rw -v /var/lib/mycontainer:/var/lib/containers:Z --privileged stable sh -c 'while true ;do wait; done'
|
||||
podman run --detach --name=podmanctr --net=host --security-opt label=disable --security-opt seccomp=unconfined --device /dev/fuse:rw -v /var/lib/mycontainer:/var/lib/containers:Z --privileged stable sh -c 'while true ;do sleep 100000 ; done'
|
||||
|
||||
podman exec -it podmanctr /bin/sh
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue