mirror of
https://github.com/containers/podman
synced 2024-10-20 09:13:46 +00:00
Change wait to sleep in podmanimage readme
Change wait to sleep 100000 as we've had some reports of problems with wait: https://github.com/containers/buildah/issues/1665 Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
This commit is contained in:
parent
cf9efa90e5
commit
6dc0f1bec3
|
@ -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 a new issue