aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/image-building.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/image-building.rst b/doc/image-building.rst
index c7ccf60a1..24714ab00 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 <local_data_path>:/var/lib/registry registry
+
+Note: ``<local_data_path>`` 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.