aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEduardo Gonzalez <dabarren@gmail.com>2016-05-21 19:44:13 +0200
committerEduardo Gonzalez <dabarren@gmail.com>2016-05-24 14:55:23 +0000
commit776d9418dd74e218ecb7b6cc02fdcd59aef50b77 (patch)
tree29186e032db2a872d3a85bcee394d4fb980d94c9 /doc
parentd48883b3a44536580ef5f7bd7824f6a0f0ef3564 (diff)
downloadkolla-776d9418dd74e218ecb7b6cc02fdcd59aef50b77.tar.gz
kolla-776d9418dd74e218ecb7b6cc02fdcd59aef50b77.zip
Specify registry volume location
Makes sense specify where the docker volume path is present for image storage in the kolla host as kolla-vagrant does in the bootstrapping step. With this way users will know where exactly their images are stored when re-utilize registry containers Change-Id: I7f5c46ebab8ec4287a40cd6bd34e75eeb919a24f
Diffstat (limited to 'doc')
-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 da2f3f703..34b8be005 100644
--- a/doc/image-building.rst
+++ b/doc/image-building.rst
@@ -237,7 +237,11 @@ 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.