aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-10-17 10:55:15 +0000
committerGerrit Code Review <review@openstack.org>2015-10-17 10:55:15 +0000
commit42b34bb782c934714ebd05ce8759ccd1407a4703 (patch)
treea41fcf07a4752b68386139293de6c750d4fc3197 /doc
parent968a42b826f519ae4c5cde72313c2d7ee910113b (diff)
parent52b72538114fdf3de5b71ce399bb0992d2748d75 (diff)
downloadkolla-42b34bb782c934714ebd05ce8759ccd1407a4703.tar.gz
kolla-42b34bb782c934714ebd05ce8759ccd1407a4703.zip
Merge "add "registry" flag to "tools/build.py""
Diffstat (limited to 'doc')
-rw-r--r--doc/deploy-all-in-one-node.rst2
-rw-r--r--doc/image-building.rst10
2 files changed, 5 insertions, 7 deletions
diff --git a/doc/deploy-all-in-one-node.rst b/doc/deploy-all-in-one-node.rst
index d154c246c..dc8de7274 100644
--- a/doc/deploy-all-in-one-node.rst
+++ b/doc/deploy-all-in-one-node.rst
@@ -26,7 +26,7 @@ The guide assumes that you have build images using the following command.
::
- tools/build.py -n 172.22.2.81:4000/kollaglue --base ubuntu --type source --push
+ tools/build.py --registry 172.22.2.81:4000 --base ubuntu --type source --push
The IP, "172.22.2.81", is the host running private docker registry.
To deploy a private docker registry,
diff --git a/doc/image-building.rst b/doc/image-building.rst
index ee18c153d..d02c8322c 100644
--- a/doc/image-building.rst
+++ b/doc/image-building.rst
@@ -56,14 +56,12 @@ want to push images to your dockerhub, change the namespace like:
$ tools/build.py -n yourusername --push
-To push images to local registry, change the namespace, too. If the ip
-of the machine running local registry is ``172.22.2.81`` and the port
-which local registry listens to is ``4000``, use the following command
-to push images to local registry.
+To push images to local registry, use ``--registry`` flag like the
+following command:
::
- tools/build.py --namespace 172.22.2.81:4000/kollaglue --push
+ tools/build.py --registry 172.22.2.81:4000 --push
To trigger buid.py to pull images from local registry,
the Docker configuration needs to be modified. See
@@ -180,7 +178,7 @@ To build and push images to local registry, use the following command:
::
- tools/build.py --namespace 172.22.2.81:4000/kollaglue --push
+ tools/build.py --registry 172.22.2.81:4000 --push
Kolla-ansible with Local Registry
+++++++++++++++++++++++++++++++++