-
|
I'm building a custom docker image including a script and a config file. The config file is completely ignored. (venv) Roberts-MBP:xxxxxxxx-cloud rf$ docker run --name locust --network host -it --entrypoint bash xxxxxxx-locust
locust@docker-desktop:/tests$ ls
__pycache__ locust.conf locustfile.py
locust@docker-desktop:/tests$ locust --config locust.conf --headless --loglevel DEBUG --host http://localhost:8080
[2025-02-27 20:00:08,154] docker-desktop/INFO/locust.main: Starting Locust 2.32.10
[2025-02-27 20:00:08,154] docker-desktop/INFO/locust.main: No run time limit set, use CTRL+C to interruptContents of the locust.conf file: locustfile = "/tests"
users = 10
host = "http://localhost:8080"
run-time = "60s"
only-summary = true
csv = "project-name"
json = true
loglevel = "DEBUG"
html = "locust.html"Here is my Dockerfile: I tried an older image just in case, 2.32.10, and get the same outcome. Is this expected behavior? Or am I doing something stupid? |
Beta Was this translation helpful? Give feedback.
Answered by
cyberw
Feb 28, 2025
Replies: 1 comment 1 reply
-
|
Hmm... it works fine for me! It seems configargparse ignores the last line if there isnt a newline at the end, but other than that I cant reproduce. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rofr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm... it works fine for me!
It seems configargparse ignores the last line if there isnt a newline at the end, but other than that I cant reproduce.