Skip to content

Commit

Permalink
Merge pull request #3 from manics/master
Browse files Browse the repository at this point in the history
Add STOPSIGNAL to ensure clean shutdown of container
  • Loading branch information
joshmoore committed Nov 17, 2016
2 parents 759c54d + f292dc2 commit 0032969
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ EXPOSE 22

# This will automatically start systemd
CMD ["/usr/sbin/init"]

# Shutdown systemd in container correctly
STOPSIGNAL "RTMIN+3"

0 comments on commit 0032969

Please sign in to comment.