瀏覽代碼

Run update.sh

Tianon Gravi 10 年之前
父節點
當前提交
489d4dee59
共有 1 個文件被更改,包括 9 次插入5 次删除
  1. 9 5
      registry/README.md

+ 9 - 5
registry/README.md

@@ -8,16 +8,20 @@ For more information about this image and its history, please see the [relevant
 
 # Docker Registry
 
-See comprehensive documentation on our [GitHub page](https://github.com/docker/docker-registry).
+The tags >= 2 refer to the [new registry](https://github.com/docker/distribution).
 
-## Run the Registry
+Older tags refer to the [deprecated registry](https://github.com/docker/docker-registry).
 
-### Recommended: run the registry docker container
+## Run the Registry
 
 -	install docker according to the [following instructions](http://docs.docker.io/installation/#installation)
--	run the registry: `docker run -p 5000:5000 registry`
 
-or
+### Run the registry docker container: Quick version
+
+-	run the registry: `docker run -p 5000:5000 -v <HOST_DIR>:/tmp/registry-dev registry`
+-	Modify your docker startup line/script: add "-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock --insecure-registry <REGISTRY_HOSTNAME>:5000"
+
+### Recommended: run the registry docker container
 
 	docker run \
 	         -e SETTINGS_FLAVOR=s3 \