-
Notifications
You must be signed in to change notification settings - Fork 0
DockerRegistry
李志强 edited this page May 16, 2017
·
1 revision
- Start your registry
docker pull registry:2
docker run -d -p 5000:5000 --name registry registry:2
- Tag the image so that it points to your registry
docker pull ubuntu
docker tag ubuntu localhost:5000/myfirstimage
docker push localhost:5000/myfirstimage
- Stop your registry and remove all data
docker stop registry
docker rm -v registry
New a file named daemon.json under /etc/docker/
{
"insecure-registries": ["121.14.117.251:5000"]
}