Reputation: 1879
Scenario: Bootstrapping container to chef server in the same way as we bootstrap azure VM's.
Steps to Reproduce: Install Chef-client using knife bootstrap Run some recipe/role to install or configure container Expected Result: Installation of software such as java, python, or tools such as Jenkins, tomcat
Actual Result: Error : SSH connection timeout when knife bootstrap command is run on Local workstation
Platform Details Centos 7.1 (Azure VM) Docker Container - Centos 6.4
Upvotes: 0
Views: 419
Reputation: 54251
This is not how either Docker or knife bootstrap
works. Containers are not tiny VMs and should not be treated as such. If you want to use Chef code to build Docker image files, Packer can do this. Using chef-client
inside containers at runtime for production operations is very very not recommended.
Upvotes: 2