Vineet Bhatia
Vineet Bhatia

Reputation: 2533

Docker Mac Beta using insecure Private Registry

I am using Docker version 1.11.1, build 5604cbe on Mac OS X

On my Mac machine I am trying to do docker push to private docker registry running on remote VM. I am unable to get SSL to work and want to use insecure registry following instructions on https://docs.docker.com/registry/insecure/ How Can I specify DOCKER_OPTS on my Mac so I can push the image to private registry?

Upvotes: 3

Views: 2357

Answers (3)

Marco Massenzio
Marco Massenzio

Reputation: 3002

In case other people are having the same Get https://docker.myregistry.io:5000/v1/_ping: x509: certificate signed by unknown authority problem, I've posted a simple solution on my blog: it all boils down, as @manojlds has pointed out, to whitelisting the server in the Advanced preferences.

Upvotes: 3

manojlds
manojlds

Reputation: 301137

Pinata has been removed from more recent versions. You can setup insecure registries from Preferences -> Advanced.

Currently there is no official CLI based way to do the update.

Upvotes: 0

Vineet Bhatia
Vineet Bhatia

Reputation: 2533

I got the response on docker forums - https://forums.docker.com/t/where-do-i-set-docker-opts-for-insecure-registry/14542

pinata set daemon '{"storage-driver":"aufs","debug":true,"insecure-registries":["your.insecure.registry.com:5000"]}'

Upvotes: 0

Related Questions