Joined: 25 Jul 2018
|Posted: 10/12/2018 11:22:51 Post subject: How to run a insecure-registry
|There was a discussion 232 about how to set up an insecure registry with docker for mac. It was closed before I could comment on how to do it correctly.
This seems like the correct way to set this up please correct me if I’m wrong.
First I created a new file with the output of the current daemon.json file
$ pinata get daemon > myconfig.json
Then I added another rule to the json
Finally I set the new config
$ pinata set daemon @myconfig.json
The daemon restarted and I was able to pull from my registry.