Add guide for exposing api port during docker run 75/32775/2
authorakhilbatra898 <akhil.batra@research.iiit.ac.in>
Fri, 31 Mar 2017 10:40:21 +0000 (16:10 +0530)
committerakhilbatra898 <akhil.batra@research.iiit.ac.in>
Fri, 31 Mar 2017 10:47:50 +0000 (16:17 +0530)
Change-Id: I5dcc98ac02051f509c4714c6ea849f642dcae9d5
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
docs/testing/user/configguide/configuration.rst
docs/testing/user/userguide/api.rst

index 0ca7ae8..f048558 100644 (file)
@@ -41,7 +41,7 @@ Run and enter the docker instance
 ::
 
   envs="INSTALLER_TYPE={INSTALLER_TYPE} -e INSTALLER_IP={INSTALLER_IP}"
-  docker run --name qtip -id -e $envs opnfv/qtip
+  docker run -p [HOST_IP:]<HOST_PORT>:5000 --name qtip -id -e $envs opnfv/qtip
   docker exec -i -t qtip /bin/bash
 
 ``INSTALLER_TYPE`` should be one of OPNFV installer, e.g. apex, compass, daisy, fuel
index 7e1d7b1..05b0e8f 100644 (file)
@@ -19,8 +19,7 @@ Running
 
 After installing QTIP. API server can be run using command ``qtip-api`` on the local machine.
 
-All the resources and their corresponding operation details can be seen at ``/v1.0/ui``,
-on hosting server(``0.0.0.0:5000`` for the local machine).
+All the resources and their corresponding operation details can be seen at ``/v1.0/ui``.
 
 The whole API specification in json format can be seen at ``/v1.0/swagger.json``.