Docker Community Forums

Share and learn in the Docker community.

The Docker engine json config doesn't support all the options you might want to set

(Robert Goldsmith) #1

Expected behavior

docker engine config options with ‘pinata set daemon…’ allows setting of all the options you can configure by directly editing the daemon startup init script.

Actual behavior

The json config options are only a subset of those available as parameter when starting the engine


OS X: version 10.11.4 (build: 15E65) version v1.11.0-beta7
Running diagnostic tests:
[OK] docker-cli
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160418-155932.tar.gz
Most specific failure is: No error was detected
Your unique id is: EC154464-1BCD-47CD-93AB-F7E1616C8A9F

Steps to reproduce the behavior

  1. Set the insecure-registry parameter via pinata and the json config
  2. Docker engine ignores the setting

This is a problem because

While the pinata config is retained between restarts of Docker4Mac, nothing else is.