Created
October 22, 2015 20:25
-
-
Save chasebolt/6e0304049e5b2d656c3e 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
root@resources-182-ubuntu-1504-chef-latest:~# docker run --name hammer_time -d busybox nc -ll -p 187 -e /bin/cat | |
70fbaeada1097170a3ef6274ae5e17ffea2ea8a02bc17f8f77092027e9c77e9a | |
root@resources-182-ubuntu-1504-chef-latest:~# docker exec hammer_time ps auxw | |
PID USER TIME COMMAND | |
1 root 0:00 nc -ll -p 187 -e /bin/cat | |
5 root 0:00 ps auxw | |
root@resources-182-ubuntu-1504-chef-latest:~# time docker stop hammer_time | |
real 0m10.540s | |
user 0m0.008s | |
sys 0m0.020s | |
root@resources-182-ubuntu-1504-chef-latest:~# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment