Created
January 6, 2015 08:00
-
-
Save tbatchelli/b1cb8cf122674dc873a9 to your computer and use it in GitHub Desktop.
Docker on VBox slowness
This file contains 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
1420530869 Starting Container Creation | |
1420530869 Starting Container #1: docker run -d --name test-1 busybox sleep 10000 | |
1420530869 33f376e7b0d38460eb17244809327a013e1037416e2157030a2cd4bd0481dbed | |
1420530870 docker ps -a | wc -l 2 | |
1420530870 Starting Container #2: docker run -d --name test-2 --link=test-1:test-1 busybox sleep 10000 | |
1420530870 35a4b63e1e8e0811e1d2ecd50e080983f447376d253d5e3815daf1d38cf112ec | |
1420530870 docker ps -a | wc -l 3 | |
1420530870 Starting Container #3: docker run -d --name test-3 --link=test-1:test-1 --link=test-2:test-2 busybox sleep 10000 | |
1420530871 032886acaa3f1b8c5769c1246c7befd11fbf27634e4d03fa6e29aa094367c10b | |
1420530871 docker ps -a | wc -l 4 | |
1420530871 Starting Container #4: docker run -d --name test-4 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 busybox sleep 10000 | |
1420530871 4ebfc6642097a598e7d9c0ff7b92915a4af776f6a25a425110424df5baeb1e5d | |
1420530872 docker ps -a | wc -l 5 | |
1420530872 Starting Container #5: docker run -d --name test-5 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 busybox sleep 10000 | |
1420530872 bd30c85844bc19ccca38969cefa140da43f71c28a66ba3208ff0339f81cfa6a0 | |
1420530873 docker ps -a | wc -l 6 | |
1420530873 Starting Container #6: docker run -d --name test-6 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 busybox sleep 10000 | |
1420530873 606af2de2c31209488ef905a7e7d2a49975343940998644bb35da28434f63cdb | |
1420530873 docker ps -a | wc -l 7 | |
1420530873 Starting Container #7: docker run -d --name test-7 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 busybox sleep 10000 | |
1420530874 31c2ff28f183e7ec73358ddffe6b8005c49bb999d17d8eff2a4e0e4adbd8eb43 | |
1420530874 docker ps -a | wc -l 8 | |
1420530874 Starting Container #8: docker run -d --name test-8 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 busybox sleep 10000 | |
1420530875 023e767bfa601083af76d439d4a31049260317f72e5a6371f36a2b2400af7f00 | |
1420530875 docker ps -a | wc -l 9 | |
1420530875 Starting Container #9: docker run -d --name test-9 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 busybox sleep 10000 | |
1420530875 65360da9c1cee23fd8832baf0224c1dcb4cc1682558071980f926e0178b898b3 | |
1420530876 docker ps -a | wc -l 10 | |
1420530876 Starting Container #10: docker run -d --name test-10 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 busybox sleep 10000 | |
1420530876 0a482c15af3254be4c4e6ebdc7dcf6cd2f5e32093b3b18d382f5c0b06b35faab | |
1420530877 docker ps -a | wc -l 11 | |
1420530877 Starting Container #11: docker run -d --name test-11 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 --link=test-10:test-10 busybox sleep 10000 | |
1420530877 0b35e2a5540c1678c7cbad35783218ebcd5519119982d19aaa82854f5685f8f0 | |
1420530878 docker ps -a | wc -l 12 | |
1420530878 Starting Container #12: docker run -d --name test-12 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 --link=test-10:test-10 --link=test-11:test-11 busybox sleep 10000 | |
1420530878 65f7e6faba8132a10db2d009eafede2ae95a18b10b747a480fffe505724ce5d4 | |
1420530879 docker ps -a | wc -l 13 | |
1420530879 Starting Container #13: docker run -d --name test-13 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 --link=test-10:test-10 --link=test-11:test-11 --link=test-12:test-12 busybox sleep 10000 | |
1420530879 76a000bab5cd51d7135a7e357390d0f0decad7f50af711563308073ab7e30ec0 | |
1420530880 docker ps -a | wc -l 14 | |
1420530880 Starting Container #14: docker run -d --name test-14 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 --link=test-10:test-10 --link=test-11:test-11 --link=test-12:test-12 --link=test-13:test-13 busybox sleep 10000 | |
1420530881 8808f9ab8349978c60471e5d4d0d38c1d07038d73a8beec73552493016dd055d | |
1420530883 docker ps -a | wc -l 15 | |
1420530883 Starting Container #15: docker run -d --name test-15 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 --link=test-10:test-10 --link=test-11:test-11 --link=test-12:test-12 --link=test-13:test-13 --link=test-14:test-14 busybox sleep 10000 | |
1420530883 1a40d11484a2a3abad61e2779ce9e083e252b3d075911457f3ae9f0b646592a2 | |
1420530886 docker ps -a | wc -l 16 | |
1420530886 Starting Container #16: docker run -d --name test-16 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 --link=test-10:test-10 --link=test-11:test-11 --link=test-12:test-12 --link=test-13:test-13 --link=test-14:test-14 --link=test-15:test-15 busybox sleep 10000 | |
1420530887 5d7e1b93a690aede95b22a0a40c72a7bf19f35ea6d0e02b33e4ea14d1abb9646 | |
1420530893 docker ps -a | wc -l 17 | |
1420530893 Starting Container #17: docker run -d --name test-17 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 --link=test-10:test-10 --link=test-11:test-11 --link=test-12:test-12 --link=test-13:test-13 --link=test-14:test-14 --link=test-15:test-15 --link=test-16:test-16 busybox sleep 10000 | |
1420530894 bf123121e817fadc49c056708c71a04fb1bb6f9435699ee5358b04af0eab1b4b | |
1420530906 docker ps -a | wc -l 18 | |
1420530906 Starting Container #18: docker run -d --name test-18 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 --link=test-10:test-10 --link=test-11:test-11 --link=test-12:test-12 --link=test-13:test-13 --link=test-14:test-14 --link=test-15:test-15 --link=test-16:test-16 --link=test-17:test-17 busybox sleep 10000 | |
1420530906 22a8cfc3c87e6d28c3c839546506135ff7270b50ec28ae1cc2657694459c15aa | |
1420530932 docker ps -a | wc -l 19 | |
1420530932 Starting Container #19: docker run -d --name test-19 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 --link=test-10:test-10 --link=test-11:test-11 --link=test-12:test-12 --link=test-13:test-13 --link=test-14:test-14 --link=test-15:test-15 --link=test-16:test-16 --link=test-17:test-17 --link=test-18:test-18 busybox sleep 10000 | |
1420530932 43f87fcb16b869413b1df8101bb90b134a3b92ae4f93b368dff24327762b6bbe | |
1420530982 docker ps -a | wc -l 20 | |
1420530982 Starting Container #20: docker run -d --name test-20 --link=test-1:test-1 --link=test-2:test-2 --link=test-3:test-3 --link=test-4:test-4 --link=test-5:test-5 --link=test-6:test-6 --link=test-7:test-7 --link=test-8:test-8 --link=test-9:test-9 --link=test-10:test-10 --link=test-11:test-11 --link=test-12:test-12 --link=test-13:test-13 --link=test-14:test-14 --link=test-15:test-15 --link=test-16:test-16 --link=test-17:test-17 --link=test-18:test-18 --link=test-19:test-19 busybox sleep 10000 | |
1420530982 cd6343929ee99aba9932debcd56cb0a2a329975c8960b80a130202c4dd5ac76d | |
1420531081 docker ps -a | wc -l 21 | |
1420531081 Done |
This file contains 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 | |
function links(){ | |
c=1 | |
while [ $c -lt $1 ] | |
do | |
echo -n "--link=test-$c:test-$c " | |
c=$(( $c + 1 )) | |
done | |
} | |
function run_test() { | |
for i in $(eval echo "{1..$1}") | |
do | |
echo "Starting Container #$i: docker run -d --name test-$i $(links $i) busybox sleep 10000" | |
docker run -d --name test-$i $(links $i) busybox sleep 10000 | |
echo "docker ps -a | wc -l $(docker ps -a | wc -l)" | |
done | |
} | |
(echo "Starting Container Creation"; | |
run_test $1 2>&1; | |
echo "Done") | while read -r line; do echo "$(date +%s) $line"; done |
This file contains 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
[~] ➔ cat /tmp/res | grep "docker ps" | |
docker ps -a | |
1420530870 docker ps -a | wc -l 2 | |
1420530870 docker ps -a | wc -l 3 | |
1420530871 docker ps -a | wc -l 4 | |
1420530872 docker ps -a | wc -l 5 | |
1420530873 docker ps -a | wc -l 6 | |
1420530873 docker ps -a | wc -l 7 | |
1420530874 docker ps -a | wc -l 8 | |
1420530875 docker ps -a | wc -l 9 | |
1420530876 docker ps -a | wc -l 10 | |
1420530877 docker ps -a | wc -l 11 | |
1420530878 docker ps -a | wc -l 12 | |
1420530879 docker ps -a | wc -l 13 | |
1420530880 docker ps -a | wc -l 14 | |
1420530883 docker ps -a | wc -l 15 | |
1420530886 docker ps -a | wc -l 16 | |
1420530893 docker ps -a | wc -l 17 | |
1420530906 docker ps -a | wc -l 18 | |
1420530932 docker ps -a | wc -l 19 | |
1420530982 docker ps -a | wc -l 20 | |
1420531081 docker ps -a | wc -l 21 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment