-
Notifications
You must be signed in to change notification settings - Fork 40
Connection refused - Connection refused connecting to http://172.17.42.1:8889/nodes/daniel, giving up #69
Comments
+1 |
1 similar comment
+1 |
Can you try to explicitly set chef-server as workaround: convergence_options: {
chef_server: "http://<you_macos_addr>:8889/"
} Make sure your chef-zero is listening on 0.0.0.0 . |
I also ran into this issue, and my guess is this: The mechanism used to detect boot2docker (which is now Docker Toolbox) is incompatible with Docker Toolbox. With boot2docker the VirtualBox VM used to be called 'boot2docker', and the function Since Docker Toolbox the VM is now called 'default' by default, which breaks the current detection mechanism. UPDATE: i tested by editing docker_transport.rb and changed |
That was it! |
I'm having problems provisioning an image using docker on OSX (boot2docker) with chef in local mode.
My container tries to find the chef-server on the docker host instead on my OSX machine.
Is there a way I can give the container a hint so it uses the local chef or is my setup using boot2docker that makes the whole szenario impossible?
Actually I'm using the successor of boot2docker on OSX called Docker Machine. But I guess it's behaviour is the same as boot2docker and should't make a difference.
I use the following setup:
Recipe I am using
docker_ubuntu_image.rb
Gemfile for the setup
( still using librarian instead of berkshelf ...)
Command I executed
Full Exception
Here the part of the exception which seems relevant to me.
172.17.42.1 is the IP the docker host is bound to.
The text was updated successfully, but these errors were encountered: