Skip to content

Instantly share code, notes, and snippets.

@kyhau
Created March 1, 2016 10:34
Show Gist options
  • Save kyhau/36bc8899e09880f86546 to your computer and use it in GitHub Desktop.
Save kyhau/36bc8899e09880f86546 to your computer and use it in GitHub Desktop.
Docker

To build a Docker image depending on another image from Docker registry.

Edit "/etc/default/docker"

DOCKER_OPTS="--insecure-registry <docker registry url>"

Restart docker service

$ sudo service docker restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment