Last active
August 29, 2015 13:59
-
-
Save thedeeno/10468466 to your computer and use it in GitHub Desktop.
Demonstrate issue with signaling containers
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
from ubuntu:precise | |
entrypoint [ "tail" ] | |
cmd [ "-f", "/var/log/dpkg.log" ] |
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
docker build -t foo . | |
PID=$(docker run -d foo) | |
docker kill -s TERM $PID | |
# and the container is still running :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment