diff --git a/doc/image-building.rst b/doc/image-building.rst index c7ccf60a1d..24714ab009 100644 --- a/doc/image-building.rst +++ b/doc/image-building.rst @@ -217,7 +217,11 @@ Setting up Docker Local Registry Running Docker registry is easy. Just use the following command:: - docker run -d -p 4000:5000 --restart=always --name registry registry + docker run -d -p 4000:5000 --restart=always --name registry \ + -v :/var/lib/registry registry + +Note: ```` points to the folder where Docker registry +will store Docker images on the local host. The default port of Docker registry is 5000. But the 5000 port is also the port of keystone-api.