bootstrapping a node using chef

Please help me out with the following. I am trying to bootstrap a docker container. The target is Ubuntu 14.04.

172.17.0.1 [2016-02-03T04:31:57+00:00] ERROR: Error connecting to https:// chef.shrikant.com/organizations/project/clients, retry 1/5
172.17.0.1 
172.17.0.1 ========================================================================
172.17.0.1 Chef encountered an error attempting to create the client "nodename2"
172.17.0.1 ========================================================================
172.17.0.1
172.17.0.1 Network Error:
172.17.0.1 There was a network error connecting to the Chef Server:
172.17.0.1 Error connecting to https://chef.shrikant.com/organizations/project/clients - getaddrinfo: Name or service not known
172.17.0.1 
172.17.0.1 Relevant Config Settings:
172.17.0.1 -------------------------
172.17.0.1 chef_server_url  "https:// chef.shrikant.com/organizations/project"
172.17.0.1 
172.17.0.1 If your chef_server_url is correct, your network could be down.
172.17.0.1 
172.17.0.1 
172.17.0.1 Running handlers:
172.17.0.1 [2016-02-03T04:33:07+00:00] ERROR: Running exception handlers
172.17.0.1 Running handlers complete
172.17.0.1 [2016-02-03T04:33:07+00:00] ERROR: Exception handlers complete
172.17.0.1 Chef Client failed. 0 resources updated in 01 minutes 18 seconds
172.17.0.1 [2016-02-03T04:33:07+00:00] FATAL: Stacktrace dumped to 
/var/chef/cache/chef-stacktrace.out
172.17.0.1 [2016-02-03T04:33:07+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
172.17.0.1 [2016-02-03T04:33:07+00:00] ERROR: Error connecting to https://chef.shrikant.com/organizations/project/clients - getaddrinfo: Name or service not known
172.17.0.1 [2016-02-03T04:33:07+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

  • Access Jupyter notebook running on Docker container
  • Artifactory docker Repository overrides released docker artifacts
  • Webpack Incomplete Chunk Encoding in Chrome
  • How to change the nginx process user of the official docker image nginx?
  • How do I record RAM usage over time on Google Compute Engine?
  • How to install Ruby on docker?
  • Auto-reloading of code changes with Django development in Docker with Gunicorn
  • Command to Copy/share jmeter master container results (Docker) generated in by running the script in non-gui mode to EC2 instance
  • jenkins plugins installed via CLI inside docker container is not showing up in jenkins web console
  • Docker IPv6: Disable IPv4 in bridge docker0 and docker network
  • Docker image: virtual size vs real size
  • Docker NGINX Proxy not Forwarding Websockets
  • One Solution collect form web for “bootstrapping a node using chef”

    It looks like their is a space in the URL that shouldn’t be there. Check the knife.rb on your workstation.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.