从OSX创buildDocker容器时发生Chef-zero错误

我正在尝试使用OSX的最新docker从OSX创build一个docker容器。 厨师零能够build立基本的容器,但是因为它查看错误的IP地址,所以不能find运行的厨师零服务器。 它使用的是docker0的IP地址,而不是我的mac主机的地址。 我似乎无法覆盖它,即使与chef_server属性。 它在创build容器时使用该服务器IP,但不在容器内使用。 我如何得到这个工作。 当我尝试覆盖服务器,我得到一个错误的URI错误。 没有chef_server属性格式的示例。

Error executing action `converge` on resource 'machine[wario]' ================================================================================ URI::InvalidURIError -------------------- bad URI(is not URI?): Resource Declaration: --------------------- # In /Users/stevelowenthal/.chef/local-mode-cache/cache/cookbooks/docker/recipes/sample2.rb 3: machine 'wario' do 4: # recipe 'openssh::default' 5: recipe 'workstation_tools::install_java8' 6: 7: chef_server :url => "http://10.201.20.20:8889"