Skip to content

Instantly share code, notes, and snippets.

@jlrigau
Last active August 29, 2015 14:14
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 jlrigau/a255cbbd75bd063f1b79 to your computer and use it in GitHub Desktop.
Save jlrigau/a255cbbd75bd063f1b79 to your computer and use it in GitHub Desktop.
How to push image to Docker private registry
stop a service.
sudo use docker stop
restart use with --insecure-registry arguments:
/usr/bin/docker -d --insecure-registry localhost:5000
or correct /etc/default/docker record and supplement a following line:
DOCKER_OPTS="--insecure-registry localhost:5000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment