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

Just won't work on my mac either with compose or as a one-off #98

Closed
Steven-N-Hart opened this issue Mar 14, 2016 · 1 comment
Closed

Comments

@Steven-N-Hart
Copy link

I'm trying to start up an instance, but have no luck getting this to wok on my mac.
First I tried using the yml file recommended in Issue #90 to which I get this error:

Starting mongodbhadoopspark_skydock_1
Starting mongodbhadoopspark_skydns_1
ERROR: failed to create endpoint mongodbhadoopspark_skydns_1 on network bridge: Error starting userland proxy: listen udp 172.17.42.1:53: bind: cannot assign requested address

I started with a clean install of docker on my Mac

$ docker version

Client:
Version: 1.10.3
API version: 1.22
Go version: go1.5.3
Git commit: 20f81dd
Built: Thu Mar 10 21:49:11 2016
OS/Arch: darwin/amd64

Server:
Version: 1.10.3 
API version: 1.22
Go version: go1.5.3
Git commit: 20f81dd
Built: Thu Mar 10 21:49:11 2016
OS/Arch: linux/amd64
$ cat /etc/init.d/docker 
DOCKER_OPTS="--bip=172.17.42.1/16 --dns=172.17.42.1"

Steps to reproduce the error were:

$ eval "$(docker-machine env default)"
$ export DOCKER_HOST=tcp://127.0.0.1:2375
$ echo "export DOCKER_HOST=tcp://127.0.0.1:2375" > ~/.bashrc
$ source ~/.bashrc
$ docker-machine restart
$ eval "$(docker-machine env default)"
$ sudo docker run -d -p 172.17.42.1:53:53/udp --name skydns crosbymichael/skydns -nameserver 8.8.8.8:53 -domain docker

docker: Error response from daemon: failed to create endpoint skydns on network bridge: Error starting userland proxy: listen udp 172.17.42.1:53: bind: cannot assign requested address.

Any help would be appreciated.

@jimthree
Copy link

Hi Did you get this working? Are you using the Docker-for-Mac beta? if so this might be the problem: moby/moby#22753

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