简体   繁体   English

在Azure / AWS的VM中的docker容器上安装Chef-client(Bootstrapping)

[英]Installation of chef-client(Bootstrapping) on docker container in a VM on Azure/AWS

Scenario: Bootstrapping container to chef server in the same way as we bootstrap azure VM's. 场景:以与引导Azure虚拟机相同的方式将容器引导到Chef服务器。

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 重现步骤:使用小刀引导程序安装Chef-client运行一些配方/角色以安装或配置容器预期结果:安装诸如Java,python之类的软件或诸如Jenkins,tomcat之类的工具

Actual Result: Error : SSH connection timeout when knife bootstrap command is run on Local workstation 实际结果:错误:在本地工作站上运行knife bootstrap命令时,SSH连接超时

Platform Details Centos 7.1 (Azure VM) Docker Container - Centos 6.4 平台详细信息Centos 7.1(Azure VM)Docker容器-Centos 6.4

This is not how either Docker or knife bootstrap works. 这不是Docker或knife bootstrap工作方式。 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. 如果要使用Chef代码构建 Docker映像文件,Packer可以执行此操作。 Using chef-client inside containers at runtime for production operations is very very not recommended. 不建议在运行时在容器内部使用chef-client进行生产操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 远程客户端无法连接到在 Azure VM 中运行的 redisai docker 容器 - Remote client can't connect to redisai docker container running in an Azure VM 在 Azure VM 上运行的 Docker 容器中使用 Azure 托管标识 - Using Azure Managed Identity in a Docker container running on an Azure VM Azure VM/Docker – 如何在 Azure VM (Debian) 上将网站部署为 Docker 容器 - Azure VM/Docker – How to deploy website as Docker Container on Azure VM (Debian) 在AZURE VM上安装DRUPAL - DRUPAL installation on AZURE VM 在天蓝色容器中的docker中获取客户端IP - Obtain client IP in docker in azure container 将 Docker 客户端与 Azure 容器注册表一起使用 - Using Docker Client with Azure Container Registry 连接到Microsoft Azure VM中Docker容器内的MySQL Server - Connect to MySQL Server inside Docker container in an Microsoft Azure VM 通过 Powershell 检查 Docker 容器是否在 Azure VM 上运行 - Check if Docker Container is running on Azure VM via Powershell Azure上的Chef bootstrapping不会填充cloud_v2属性 - Chef bootstrapping on Azure doesn't populate the cloud_v2 attribute 在Azure上的托管Chef服务器上引导EC2实例时出错 - Error while bootstrapping ec2 instance on hosted chef server on azure
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM