diff options
| -rw-r--r-- | doc/image-building.rst | 6 |
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. |
