https://github.com/rocketraman/docker-infra
Docker Infrastructure Tools
https://github.com/rocketraman/docker-infra
Last synced: about 1 year ago
JSON representation
Docker Infrastructure Tools
- Host: GitHub
- URL: https://github.com/rocketraman/docker-infra
- Owner: rocketraman
- License: apache-2.0
- Created: 2014-03-02T06:21:14.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-02T08:23:18.000Z (over 12 years ago)
- Last Synced: 2025-03-28T15:04:45.582Z (about 1 year ago)
- Language: Shell
- Size: 145 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Docker Infrastructure Tools
===========================
Infrastructure tools related to using Docker.
dockstart
---------
Wrapper script for `docker start`.
Manages the lifecycle of a docker container on behalf of a process
control mechanism such as supervisord. This is necessary because
the docker client does not pass signals via the daemon to the
running container, when those signals are not sent from the
terminal. This script is necessary as of Docker version 0.8.0.
See:
* https://groups.google.com/d/topic/docker-user/bC0mabJXmJ0/discussion
* https://github.com/dotcloud/docker/issues/1311
This script should be started as follows:
dockstart
A TERM, INT, or QUIT signal received by the wrapper will be translated to a
"docker stop" command rather than being forwarded directly to the docker
client process.
A HUP signal received by the wrapper will be translated to a
"docker restart" command.
If the wrapper script is force killed, the underlying container will
continue to run.