Friday, May 27, 2016

add insecure-registry flag in docker for Mac client

credit: https://christianmoser.me/docker-for-mac-beta-insecure-registry-flag/

  1. get current setting by command pinata get daemon > daemon.json.
  2. add key value pair insecure-registry:<ip/domain:port> or inecure-registries:[<ip/domain:prot>,<ip/domain:prot>]
  3. write new setting back pinata set daemon @daemon.json
  4. restart the client pinata restart