Skip to content

Instantly share code, notes, and snippets.

@munepom
Created May 9, 2018 18:05
Show Gist options
  • Save munepom/5b18f37fe72cb78be05741450f895372 to your computer and use it in GitHub Desktop.
Save munepom/5b18f37fe72cb78be05741450f895372 to your computer and use it in GitHub Desktop.
ずっとバックグラウンドでコンテナ起動していたいあなたへ (シグナルトラップで停止しやすい)
CMD exec /bin/bash -c "trap : TERM INT; sleep infinity & wait"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment