Last active
August 29, 2015 14:05
-
-
Save dqminh/9287a706a13017c835b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run -d --name test-port -p 8000:8000 busybox sh -c "while true; do echo 'hello world'; done" | |
for i in {1..100}; do | |
echo "restart $i" | |
docker restart test-port | |
done |
Author
dqminh
commented
Aug 26, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment