Closed mysqlboy closed 8 years ago
You should not change the provided docker.service
file directly.
Instead systemd supports "drop-ins", which is basically an override unit file.
https://docs.docker.com/engine/admin/systemd/#custom-docker-daemon-options
Thanks, read the F manual. Appreciate the response.
In my excitement I've moved to upgrade to 1.11.0 on my CentOS7 node and after the packages from the docker repo had successfully installed I find my docker.service unit file has been overwritten. What a PITA. Is there some way to package docker-engine so that it can make a backup of the existing docker.service unit file before writing the default?
I've got backups so not biggie, but the behaviour might be tuned.
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.): Physical, on premise hardware
Steps to reproduce the issue:
Describe the results you received: Default unit file clobbered my customised one
Describe the results you expected: unit file backed up or retained because it's not the default
Additional information you deem important (e.g. issue happens only occasionally):