Docker Server Configuration: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
=Overview= | =Overview= | ||
=OS-Dependent Details= | |||
==RedHat/Centos== | |||
==Ubuntu== | |||
==Mac== | |||
I am using Docker for Mac 1.13.0 on MacOS 10.12 and the daemon settings can be accessed via the Docker app (Preferences -> Daemon -> Advanced). | |||
But if you change this to something wrong, you will render your installation unusable (the daemon will no longer start-up). This happened to me. | |||
I found out that the settings are stored in a Git repository in ~/Library/Containers/com.docker.docker/Data/database where I had to issue a git reset --hard HEAD before I could change anything. After that the daemon settings are available in ~/Library/Containers/com.docker.docker/Data/database/com.docker.driver.amd64-linux/etc/docker/daemon.json. | |||
Edit, commit and restart the Docker app … et voilà … the daemon starts again. | |||
=Files= | =Files= |
Revision as of 19:56, 20 April 2018
External
Internal
Overview
OS-Dependent Details
RedHat/Centos
Ubuntu
Mac
I am using Docker for Mac 1.13.0 on MacOS 10.12 and the daemon settings can be accessed via the Docker app (Preferences -> Daemon -> Advanced).
But if you change this to something wrong, you will render your installation unusable (the daemon will no longer start-up). This happened to me.
I found out that the settings are stored in a Git repository in ~/Library/Containers/com.docker.docker/Data/database where I had to issue a git reset --hard HEAD before I could change anything. After that the daemon settings are available in ~/Library/Containers/com.docker.docker/Data/database/com.docker.driver.amd64-linux/etc/docker/daemon.json.
Edit, commit and restart the Docker app … et voilà … the daemon starts again.
Files
/etc/sysconfig/docker
/etc/docker/daemon.json
Server Command Line Options
--net
Also see