hakobera / docker-locust

Docker image for both locust master and slave
MIT License
36 stars 28 forks source link

web 8089 #5

Open likezjuisee opened 8 years ago

likezjuisee commented 8 years ago

I have started master likes below, but I can't access 8089 yet.

[root@localhost ~]# docker run -e LOCUST_MODE=master -e TARGET_URL=http://10.16.16.17 locust-test INFO[0131] POST /v1.19/containers/create
INFO[0132] POST /v1.19/containers/35628c7618218236c92d1a35b1e24d6f4509a87ebed178950cddef00cc150a65/attach?stderr=1&stdout=1&stream=1 INFO[0132] POST /v1.19/containers/35628c7618218236c92d1a35b1e24d6f4509a87ebed178950cddef00cc150a65/start 2016/01/19 06:51:33 http: multiple response.WriteHeader calls Usage of loopback devices is strongly discouraged for production use. Either use --storage-opt dm.thinpooldev or use --storage-opt dm.no_warn_on_loop_devices=true to suppress this warning. => Starting locust /usr/local/bin/locust -f /test/main.py --host=http://10.16.16.17 --master [2016-01-19 11:51:33,774] 35628c761821/INFO/locust.main: Starting web monitor at *:8089 [2016-01-19 11:51:33,776] 35628c761821/INFO/locust.main: Starting Locust 0.7.2

mcochner commented 7 years ago

@likezjuisee you need to first expose 8089 port. So e.g.: docker run -p 8089:8089 -e LOCUST_MODE=master -e TARGET_URL=http://10.16.16.17 locust-test