Jump to content

How to run a insecure-registry


martinbaker2727
 Share

1 post in this topic

Recommended Posts

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


{"storage-driver":"aufs","debug":true,"insecure-registries":["your.insecure.registry"]}
Finally I set the new config


$ pinata set daemon @myconfig.json
The daemon restarted and I was able to pull from my registry.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...