From 85eadae19a68a1bb2f53a927ff77f723695f89ec Mon Sep 17 00:00:00 2001 From: Eric Yang Date: Mon, 7 Mar 2016 10:36:34 +0800 Subject: [PATCH] command correction in documentation the original ```$GOPATH/bin/registry $GOPATH/src/github.com/docker/distribution/cmd/registry/config-example.yml``` leads to the error like ``` Error: unknown command "/Users/EricYang/go/src/github.com/docker/distribution/cmd/registry/config-example.yml" for "registry" Run 'registry --help' for usage. ``` I think the correct command should be ```registry serve``` Signed-off-by: Eric Yang --- docs/building.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/building.md b/docs/building.md index 5672210b..9aa8d8a0 100644 --- a/docs/building.md +++ b/docs/building.md @@ -60,7 +60,7 @@ binary can then be run with the following: The registry can be run with the default config using the following incantation: - $ $GOPATH/bin/registry $GOPATH/src/github.com/docker/distribution/cmd/registry/config-example.yml + $ $GOPATH/bin/registry serve $GOPATH/src/github.com/docker/distribution/cmd/registry/config-example.yml INFO[0000] endpoint local-5003 disabled, skipping app.id=34bbec38-a91a-494a-9a3f-b72f9010081f version=v2.0.0-alpha.1+unknown INFO[0000] endpoint local-8083 disabled, skipping app.id=34bbec38-a91a-494a-9a3f-b72f9010081f version=v2.0.0-alpha.1+unknown INFO[0000] listening on :5000 app.id=34bbec38-a91a-494a-9a3f-b72f9010081f version=v2.0.0-alpha.1+unknown