Skip to content

Commit

Permalink
Added a better working docker command for Windows users
Browse files Browse the repository at this point in the history
  • Loading branch information
MagnusNordboe committed Nov 9, 2022
1 parent 9670fae commit 7ea3624
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/running-in-docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Use it like this (assuming that the ``locustfile.py`` exists in the current work

docker run -p 8089:8089 -v $PWD:/mnt/locust locustio/locust -f /mnt/locust/locustfile.py

On Windows, this command will sometimes cause errors. Windows users should try using this instead::

docker run -p 8089:8089 --mount type=bind,source=$pwd,target=/mnt/locust locustio/locust -f /mnt/locust/locustfile.py


Docker Compose
==============
Expand Down

0 comments on commit 7ea3624

Please sign in to comment.