Skip to content

Instantly share code, notes, and snippets.

@julienhay
Last active May 27, 2019 22:15
Show Gist options
  • Save julienhay/381ae33d734a4377617d to your computer and use it in GitHub Desktop.
Save julienhay/381ae33d734a4377617d to your computer and use it in GitHub Desktop.
Boot2docker insecure registry

boot2docker ssh 'sudo sh -c "echo "EXTRA_ARGS=\"--insecure-registry 192.168.0.0/16\"" > /var/lib/boot2docker/profile && sudo /etc/init.d/docker restart"'

docker-compose up --allow-insecure-ssl -d

@NikolayGorshkov
Copy link

For me it worked with --insecure-registry=.../16 (with equals sign after the arugment name), but anyway, thanks for the hint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment