1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib
Sebastiaan van Stijn f74b856e1a
Add support for reloading daemon configuration through systemd
This adds support for reloading the docker daemon
(SIGHIUP) so that changes in '/etc/docker/daemon.json'
can be loaded at runtime by reloading the service
through systemd ('systemctl reload docker')

Before this change, systemd would output an error
that "reloading" is not supported for the docker
service;

  systemctl reload docker
  Failed to reload docker.service: Job type reload is not applicable for unit docker.service.

After this change, the docker daemon can be reloaded
through 'systemctl reload docker', which reloads
the configuration;

  journalctl -f -u docker.service

  May 02 03:49:20 testing systemd[1]: Reloading Docker Application Container Engine.
  May 02 03:49:20 testing docker[28496]: time="2016-05-02T03:49:20.143964103-04:00" level=info msg="Got signal to reload configuration, reloading from: /etc/docker/daemon.json"
  May 02 03:49:20 testing systemd[1]: Reloaded Docker Application Container Engine.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-05-02 10:27:07 +02:00
..
apparmor apparmor: fix version checks to work properly 2016-02-15 20:36:07 +11:00
builder Merge pull request #22370 from mlaventure/fix-experimental-builder 2016-04-28 16:26:29 -04:00
completion Add zsh completion for 'docker network ls -f driver' 2016-04-30 13:07:03 +02:00
desktop-integration .: remove trailing white spaces 2015-03-25 13:38:17 -04:00
docker-device-tool Add docs about how to extend devicemapper thin pool 2016-04-20 10:49:51 +08:00
docker-engine-selinux Give selinux pcp_pmcd_t type access to /var/lib/docker 2016-03-21 16:38:26 -07:00
httpserver integ-cli: Implement remote FakeStorage server for build via URL tests 2015-03-09 12:03:55 -07:00
init Add support for reloading daemon configuration through systemd 2016-05-02 10:27:07 +02:00
mkimage Moving man pages out of docs 2015-06-10 13:43:35 -07:00
nnp-test Add support for NoNewPrivileges in docker 2016-03-07 09:47:02 -08:00
reprepro add support for building first ARM debian package 2016-01-29 00:21:17 +01:00
syntax Add ARG instruction syntax for vim 2016-01-20 15:08:45 +09:00
syscall-test Switch "syscall-test" image from "debian:jessie" to "buildpack-deps:jessie" so that "gcc" is already included 2016-01-14 13:51:30 -08:00
udev
vagrant-docker Remove LXC support. 2015-11-05 17:09:57 -05:00
check-config.sh Add CONFIG_CFQ_GROUP_IOSCHED check 2016-04-25 14:08:29 +08:00
dockerize-disk.sh Fix dockerize-disk.sh working in non-en locale 2015-07-02 16:08:12 -07:00
download-frozen-image-v1.sh update download-frozen-image.sh to v2 registry 2015-12-01 13:16:42 -08:00
download-frozen-image-v2.sh request a new token before downloading each layer 2016-02-14 16:56:07 +08:00
mkimage-alpine.sh Additional repo and container cleanup 2015-12-28 14:11:56 +01:00
mkimage-arch-pacman.conf
mkimage-arch.sh Add support for Arch Linux ARM. (Close #16695) 2015-12-13 19:48:40 +01:00
mkimage-archarm-pacman.conf Add support for Arch Linux ARM. (Close #16695) 2015-12-13 19:48:40 +01:00
mkimage-busybox.sh
mkimage-crux.sh
mkimage-debootstrap.sh .: remove trailing white spaces 2015-03-25 13:38:17 -04:00
mkimage-rinse.sh Moving man pages out of docs 2015-06-10 13:43:35 -07:00
mkimage-yum.sh New features in mkimage-yum.sh script 2015-12-20 14:20:30 +02:00
mkimage.sh Updated usage information because of removed short parameters. 2015-07-16 10:44:58 +02:00
nuke-graph-directory.sh Fix nuke script to remove from end of path 2015-09-09 15:34:05 -07:00
project-stats.sh Link to HTTPS urls in contrib comments/maintainers 2015-04-11 13:35:08 -04:00
README.md Add .md extension to readme for markdown rendering 2016-02-24 20:39:46 +00:00
report-issue.sh add execute bit to contrib/report-issue.sh 2016-02-16 12:55:15 +02:00
REVIEWERS Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00

The contrib directory contains scripts, images, and other helpful things which are not part of the core docker distribution. Please note that they could be out of date, since they do not receive the same attention as the rest of the repository.