Daemon.json: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 22: Line 22:


The same behavior can be specified by setting command-line startup parameter [[Docker_Server_Configuration#--insecure-registry|--insecure-registry]].
The same behavior can be specified by setting command-line startup parameter [[Docker_Server_Configuration#--insecure-registry|--insecure-registry]].
==The Default Bridge Network==
daemon.json contains a section that can be used to configure the default bridge network.

Revision as of 17:17, 30 April 2018

Internal

Overview

/etc/docker/daemon.json contains server configuration and it is an alternative to configuration specified as command line parameters when the server is started. Initially, daemon.json is empty or missing altogether.

On Mac installations, the file can be accessed following the procure specified here:

Docker Server Configuration on Mac

Configuration

insecure-registries

{
  "insecure-registries" : ["192.168.1.10:5000"]
}

The same behavior can be specified by setting command-line startup parameter --insecure-registry.

The Default Bridge Network

daemon.json contains a section that can be used to configure the default bridge network.