summaryrefslogtreecommitdiff
path: root/contrib/podmanimage/README.md
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-07-22 16:23:35 -0400
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-07-22 16:23:39 -0400
commit6dc0f1bec3eb170b7682110e54e0a7fece862a37 (patch)
tree39192597e98c73c03b720d3662cc5b37c3faff07 /contrib/podmanimage/README.md
parentcf9efa90e5dcf89e10408eae5229c4ce904d9fc7 (diff)
downloadpodman-6dc0f1bec3eb170b7682110e54e0a7fece862a37.tar.gz
podman-6dc0f1bec3eb170b7682110e54e0a7fece862a37.tar.bz2
podman-6dc0f1bec3eb170b7682110e54e0a7fece862a37.zip
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>
Diffstat (limited to 'contrib/podmanimage/README.md')
-rw-r--r--contrib/podmanimage/README.md2
1 files changed, 1 insertions, 1 deletions
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