Skip to content

Instantly share code, notes, and snippets.

@cybertk
Created May 28, 2015 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cybertk/9d81d746a4b6600c85ee to your computer and use it in GitHub Desktop.
Save cybertk/9d81d746a4b6600c85ee to your computer and use it in GitHub Desktop.
Update docker registry in boot2docker
boot2docker ssh "echo $'EXTRA_ARGS=\"--registry-mirror=<DOCKER_REGISTRY>\"' | sudo tee -a /var/lib/boot2docker/profile && sudo /etc/init.d/docker restart"
@cybertk
Copy link
Author

cybertk commented May 28, 2015

Replace <DOCKER_REGISTRY> with docker registry

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