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

Run it on MAC #1

Open
pascalandy opened this issue Aug 24, 2017 · 1 comment
Open

Run it on MAC #1

pascalandy opened this issue Aug 24, 2017 · 1 comment

Comments

@pascalandy
Copy link

Hi,

I just tried to run it on my mac

docker run -d --rm \
--name volume-sharer \
-p 139:139 -p 445:445 \
-v /var/lib/docker/volumes:/docker_volumes \
-v /var/run/docker.sock:/var/run/docker.sock \
-d gdiepen/volume-sharer

and got this error

d66363d0077417d666f45d720c21728ab9330e4721e08a8841edf12577da85b1
docker: Error response from daemon: driver failed programming external connectivity on endpoint volume-sharer (c25835650f999bc4c8c4b8fa18a0037066b31430e21d08745e09c2ce51be8300): Error starting userland proxy: Bind for 0.0.0.0:445: unexpected error (Failure EADDRINUSE).

Maybe it's not made to run on a Mac but I'm taking a chance!

@gdiepen
Copy link
Owner

gdiepen commented Aug 24, 2017

As the version on Mac runs similar to the version on Windows as far as I know, could you try adding the option

--net=host

This should instruct docker to do the bind on the ports on the host where docker is running (i.e. the virtual machine).

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