Skip to content

Commit 8eb51ae

Browse files
committed
Add docker note to README
1 parent 4d3f583 commit 8eb51ae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,10 @@ you can run the exporter doing something like this:
3535
./os_capacity/prometheus.py &
3636
curl localhost:9000 > mytestrun
3737
cat mytestrun
38+
39+
Or just run via docker or similar:::
40+
41+
docker run -d --name os_capacity \
42+
--mount type=bind,source=/etc/openstack/,target=/etc/openstack/ \
43+
--env OS_CLOUD=openstack --env OS_CLIENT_CONFIG_FILE=/etc/openstack/mycloud.yaml \
44+
-p 9000:9000 ghcr.io/stackhpc/os-capacity:master

0 commit comments

Comments
 (0)