Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Root directory for execution state files and directory for pidfile needs to be present in tempfs. Keeping them in a non-tempfs directory may lead to corruption of files if there is an unexpected power failure. This might lead to dockerd failing to start again after reboot. Keeping these files in tempfs endures that these filesare wiped out after a power failure. exec-root and pidfile options in dockerd command are /var/run/docker and /var/run/docker.pid respectively by default. (https://docs.docker.com/engine/reference/commandline/dockerd/)
- Loading branch information