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

IO-Stress: bind source path does not exist #218

Closed
Vr00mm opened this issue Apr 26, 2022 · 2 comments · Fixed by #219
Closed

IO-Stress: bind source path does not exist #218

Vr00mm opened this issue Apr 26, 2022 · 2 comments · Fixed by #219

Comments

@Vr00mm
Copy link

Vr00mm commented Apr 26, 2022

Hello Everyone,

Iam trying to start an io stress from this command line:

pumba \
--host unix:///var/vcap/sys/run/docker/docker.sock
--log-level debug \
--label io.kubernetes.pod.name=release-name-test-deploy-f59f58c7-v5xvc \
stress \
--duration 120s \
--stressors \
--cpu 1 --io 4 --hdd 4 --hdd-bytes 10% --timeout 120s

I get this error:
Failed to create stress-ng container: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /var/run/docker.sock

From this line, the source socket is hardcoded:
https://github.com/alexei-led/pumba/blob/master/pkg/container/client.go#L677

Should it not use the DOCKER_HOST env variable or the --host command line arguments ?
Or I missed a configuration ?

Thanks for the help
Best regards

@alexei-led
Copy link
Owner

@Vr00mm You are right - this is bug. If you will commit a PR I will review and approve it.

@Vr00mm
Copy link
Author

Vr00mm commented Apr 27, 2022

Thanx for reply @alexei-led, I pushed a PR proposal, do not hesitate to discuss on :)

Best regards

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

Successfully merging a pull request may close this issue.

2 participants