Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when trying to run example from readme.md #5

Open
SBSolera opened this issue May 21, 2019 · 1 comment
Open

error when trying to run example from readme.md #5

SBSolera opened this issue May 21, 2019 · 1 comment

Comments

@SBSolera
Copy link

I pulled down the docker image and created a ./scripts folder, but when I try to run the example command, I get an error:

docker: Error response from daemon: create ./scripts: "./scripts" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.

command:

docker run -it --rm \
    -v ./scripts:/scripts \
    swernst/locusts \
    --master-host=127.0.0.1

I was able to get around this error by modifying the Dockerfile to Mount ./scripts, but even then I can't get the image to run properly. Any ideas? Your docker image was the highest downloaded for locust so I was thinking it would be the best chance of success.

Thanks!

@tmatth
Copy link

tmatth commented Dec 19, 2019

You can replace ./scripts:/scripts with ${PWD}/scripts:/scripts (assuming you're running from inside a clone of this repo).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants