mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
remove ! from command line
bash does not like it ``` $ JOB=$(docker run base /bin/sh -c "while true; do echo Hello world!; sleep 1; done") bash: !: event not found $ ```
This commit is contained in:
parent
3f63e3426e
commit
3bb176d8ae
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ Starting a long-running worker process
|
|||
(docker -d || echo "Docker daemon already running") &
|
||||
|
||||
# Start a very useful long-running process
|
||||
JOB=$(docker run base /bin/sh -c "while true; do echo Hello world!; sleep 1; done")
|
||||
JOB=$(docker run base /bin/sh -c "while true; do echo Hello world; sleep 1; done")
|
||||
|
||||
# Collect the output of the job so far
|
||||
docker logs $JOB
|
||||
|
|
Loading…
Add table
Reference in a new issue