Skip to content

Instantly share code, notes, and snippets.

@thedeeno
Last active August 29, 2015 13:59
Show Gist options
  • Save thedeeno/10468466 to your computer and use it in GitHub Desktop.
Save thedeeno/10468466 to your computer and use it in GitHub Desktop.
Demonstrate issue with signaling containers
from ubuntu:precise
entrypoint [ "tail" ]
cmd [ "-f", "/var/log/dpkg.log" ]
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