How to display the docker current configuration?

I have installed the docker daemon on a Debian 8 machine. And after setting a value for “DOCKER_OPTS” within the file “/etc/default/docker” I wanted to check if
after restarting the service the value was set properly.

Is there a command to display the current docker’s configuration ?

  • configuring specific path under DocumentRoot to HTTPS of Apache server running on container
  • Liberty Profile Docker for last version available?
  • Laravel App HTTP Request to local API on same nginx Docker container
  • what's the best approach to avoid rails gem conflict
  • How to programmatically know if I am building with -prod flag (ng build -prod)
  • Docker volumes MariaDB Windows
  • Locating data volumes in Docker
  • How can I find public images (like ubuntu) in Docker-Hub, using REST API?
  • Cucumber failing in docker container because of bundler
  • Has anyone been able to establish a WinRM remote powershell session to a Windows Docker container?
  • Docker failing to add remote file with 'too many redirects'
  • Cassandra fails to initialize with error “Cannot add table 'role_members' to non existing keyspace 'system_auth'”
  • One Solution collect form web for “How to display the docker current configuration?”

    After some researches I found the following issue which explains that systemd ignores the configuration file /etc/default/docker. Therefore in my case “DOCKER_OPTS” is not set.

    After editing the file /lib/systemd/system/docker.service it is possible to check that the value is set correctly with the command, mentioned by Adrian, ps aux | grep docker.

    The other useful commands to check the installation version and system information are docker version and docker info.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.