Daemon.json: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 18: Line 18:
</syntaxhighlight>
</syntaxhighlight>


The same behavior can be specified by setting command-line startup parameter [[/etc/sysconfig/docker#--insecure-registry|--insecure-registry]].
The same behavior can be specified by setting command-line startup parameter [[Docker_Server_Configuration#--insecure-registry|--insecure-registry]].

Revision as of 20:06, 20 April 2018

Internal

Overview

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.

Configuration

insecure-registries

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

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