Enhance building doc to reflect the new data default location

Signed-off-by: Olivier Gambier <olivier@docker.com>
pull/617/head
Olivier Gambier 2015-06-11 11:08:16 -07:00
parent 8ed0c66745
commit ad23a43bc4
1 changed files with 11 additions and 1 deletions

View File

@ -12,7 +12,17 @@ If a Go development environment is setup, one can use `go get` to install the
go get github.com/docker/distribution/cmd/registry
```
The above will install the source repository into the `GOPATH`. The `registry`
The above will install the source repository into the `GOPATH`.
Now create the directory for the registry data (this might require you to set permissions properly)
```sh
mkdir -p /var/lib/registry
```
... or alternatively `export REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/somewhere` if you want to store data into another location.
The `registry`
binary can then be run with the following:
```