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

Unable to start Pumba docker container on MacOs #161

Closed
dipAch opened this issue May 9, 2020 · 3 comments
Closed

Unable to start Pumba docker container on MacOs #161

dipAch opened this issue May 9, 2020 · 3 comments

Comments

@dipAch
Copy link

dipAch commented May 9, 2020

Trying to setup Pumba docker environment on MacOS.

Host Details:

OS -> macOS High Sierra
Version -> 10.13.5

Documentation is unclear on what the value for the --host global option should be on MacOS.

Target docker instances are running Alpine Linux (Version 3.7+).

Command being run & output received:

$> docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock \
   gaiaadm/pumba:master pumba --host <VALUE??> --interface eth0 --duration 1m delay \
   --time 3000 <TARGET_CONTAINER>
No help topic for 'pumba'

Docker Details:

Engine -> 19.03.4

Can someone point me in the right direction?

@alexei-led
Copy link
Owner

@dipAch no need to provide the host option. Use it to connect to remote Docker host only.

@Cpaulyz
Copy link

Cpaulyz commented Apr 3, 2022

I encountered similar problems.

OS: Macos Monterey (m1)
Docker: v20.10.13

I tried to setup pumba docker on MacOS but failed.

> docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock gaiaadm/pumba:0.9.0 pumba netem --interface eth0 --duration 1m delay --time 3000 tryme
No help topic for 'pumba'

However, pumba can be executed normaly with binaries(download from release page, using darwin/arm64 version).

./pumba netem --interface eth0 --duration 1m delay --time 3000 tryme

Can u help me plz? @alexei-led

@buffb
Copy link

buffb commented Jan 17, 2024

In case anyone stumbles upon this, it seems crucial to remove the pumba from the command to run.
I got it working with docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock gaiaadm/pumba netem --interface eth0 --duration 1m delay --time 3000 tryme

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

4 participants