How to display the current docker config?

I installed the docker daemon on a Debian 8 machine. And after setting the value for "DOCKER_OPTS" in the file "/ etc / default / docker" I wanted to check if the value was set correctly after restarting the service.

Is there a command to display the current docker config?

+3


source to share


1 answer


After some research I came across the following issue https://github.com/docker/docker/issues/9889 which explains that systemd is ignoring the config file /etc/default/docker

. So in my case "DOCKER_OPTS" is not set.

After editing the file /lib/systemd/system/docker.service

, you can verify the installation values with the command specified by Adrian, ps aux | grep docker

.



Other useful commands for checking the installation version and system information are docker version

and docker info

.

+5


source







All Articles