Skip to content

Commit

Permalink
Merge pull request #2248 from MagnusNordboe/Windows_command_addition
Browse files Browse the repository at this point in the history
Added a better working docker command for Windows users
  • Loading branch information
cyberw committed Nov 9, 2022
2 parents 3c46b66 + 7ea3624 commit 063622b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/running-in-docker.rst
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 063622b

Please sign in to comment.