Skip to content

Instantly share code, notes, and snippets.

@geek182
Last active February 16, 2018 18:25
Show Gist options
  • Save geek182/ffdedb970b8a078e2e3734d66eaf1ce1 to your computer and use it in GitHub Desktop.
Save geek182/ffdedb970b8a078e2e3734d66eaf1ce1 to your computer and use it in GitHub Desktop.
Setup nexus private repo for docker
#link
https://stefanprodan.com/2016/docker-private-registry-nexus-nginx/
https://blog.sonatype.com/using-nexus-3-as-your-repository-part-3-docker-images
https://help.sonatype.com/pages/viewpage.action?pageId=5412197
#Download nexus
#Run nexus
#Configure repo(hosted) for docker
#open ports for connection(HTTP/HTTPS)
#config docker client to allow http
example for ubuntu
sudo vi /etc/default/docker
DOCKER_OPTS="$DOCKER_OPTS --insecure-registry 192.168.99.100:30229"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment