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>
(cherry picked from commit 3e1b508e5f70b35869d9c8417d3b65a141820af9)
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
Upstream-commit: 127426fc693a882b670339391da5d12f08c1438d
Component: packaging
Docker CE Packaging
This repo contains the open source scripts for packaging Docker CE products.
This repository is solely maintained by Docker, Inc.
The scripts will build for this list of packages types:
- DEB packages for Ubuntu 18.04 Bionic
- DEB packages for Ubuntu 17.10 Artful
- DEB packages for Ubuntu 16.04 Xenial
- DEB packages for Ubuntu 14.04 Trusty
- DEB packages for Debian 10 Buster
- DEB packages for Debian 9 Stretch
- DEB packages for Debian 8 Jessie
- DEB packages for Debian 7 Wheezy
- RPM packages for Fedora 27
- RPM packages for Fedora 26
- RPM packages for CentOS 7
- TGZ and ZIP files with static binaries