summaryrefslogtreecommitdiffstats
path: root/docs/release/userguide/docker.userguide.rst
diff options
context:
space:
mode:
authorJohn O Loughlin <john.oloughlin@intel.com>2018-03-22 13:26:48 +0000
committerJohn O'Loughlin <john.oloughlin@intel.com>2018-03-27 08:40:06 +0000
commit55fde413cb25f36ade42aa991f64e9095933c599 (patch)
treee846a0d72ad95548cbadc3b6eed2b3d78d5eede7 /docs/release/userguide/docker.userguide.rst
parentc8120ca8f82ddd4431881b37c70eb1a40c11f6ae (diff)
Fix docs for container deployment
Change-Id: I4a610d8686d758913d73ca684db41616daf391bd Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'docs/release/userguide/docker.userguide.rst')
-rw-r--r--docs/release/userguide/docker.userguide.rst24
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/release/userguide/docker.userguide.rst b/docs/release/userguide/docker.userguide.rst
index b422d949..33e060af 100644
--- a/docs/release/userguide/docker.userguide.rst
+++ b/docs/release/userguide/docker.userguide.rst
@@ -305,17 +305,17 @@ Run the collectd docker image
Sample configurations can be found at:
https://github.com/opnfv/barometer/tree/master/src/collectd/collectd_sample_configs
-To make some changes when the container is running run:
+Check your docker image is running
.. code:: bash
- sudo docker exec -ti opnfv/barometer-collectd /bin/bash
+ sudo docker ps
-Check your docker image is running
+To make some changes when the container is running run:
.. code:: bash
- sudo docker ps
+ sudo docker exec -ti <CONTAINER ID> /bin/bash
Build and Run InfluxDB and Grafana docker images
------------------------------------------------
@@ -429,17 +429,17 @@ Run the InfluxDB docker image
$ sudo docker run -tid --net=host -v /var/lib/influxdb:/var/lib/influxdb -p 8086:8086 -p 25826:25826 opnfv/barometer-influxdb
-To make some changes when the container is running run:
+Check your docker image is running
.. code:: bash
- sudo docker exec -ti opnfv/barometer-influxdb /bin/bash
+ sudo docker ps
-Check your docker image is running
+To make some changes when the container is running run:
.. code:: bash
- sudo docker ps
+ sudo docker exec -ti <CONTAINER ID> /bin/bash
Run the Grafana docker image
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -459,17 +459,17 @@ of 192.168.121.111
$ sudo docker run -tid --net=host -v /var/lib/grafana:/var/lib/grafana -p 3000:3000 -e \
influxdb_host=someserver --add-host someserver:192.168.121.111 opnfv/barometer-grafana
-To make some changes when the container is running run:
+Check your docker image is running
.. code:: bash
- sudo docker exec -ti opnfv/barometer-grafana /bin/bash
+ sudo docker ps
-Check your docker image is running
+To make some changes when the container is running run:
.. code:: bash
- sudo docker ps
+ sudo docker exec -ti <CONTAINER ID> /bin/bash
Connect to <host_ip>:3000 with a browser and log into grafana: admin/admin