From 6dc0f1bec3eb170b7682110e54e0a7fece862a37 Mon Sep 17 00:00:00 2001 From: TomSweeneyRedHat Date: Mon, 22 Jul 2019 16:23:35 -0400 Subject: 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 --- contrib/podmanimage/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/podmanimage/README.md b/contrib/podmanimage/README.md index 79484d4a3..3dc07ad63 100644 --- a/contrib/podmanimage/README.md +++ b/contrib/podmanimage/README.md @@ -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 -- cgit v1.2.3-54-g00ecf