From 776d9418dd74e218ecb7b6cc02fdcd59aef50b77 Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Date: Sat, 21 May 2016 19:44:13 +0200 Subject: [PATCH] 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 --- doc/image-building.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/image-building.rst b/doc/image-building.rst index da2f3f703c..34b8be0050 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 :/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.