Where should I set the '--insecure-registry' flag on Mac OS?

后端 未结 7 2368
野的像风
野的像风 2020-12-04 14:25

I am using OS X 10.10. When trying to communicate with our team\'s private docker registry, it keeps giving me errors like this:

Error: Invalid registry endp         


        
7条回答
  •  北海茫月
    2020-12-04 14:55

    I was looking for a way to set --insecure-registry in Docker for Mac. Turned out to be simpler than what I first thought...

    Click the Docker icon in the tray to open Preferences. Click on the Daemon tab and add your insecure registries in Insecure registries section.

    Don't forget to Apply & Restart and you're ready to go.

提交回复
热议问题