我是码头工人和厨师的新手。我在docker容器中有一个厨师服务器,并设法从那里引导AWS机器。当我在AWS节点上调用chef客户端时,它会尝试连接到容器ID(3442f619df6f),而不是托管docker镜像的AWS计算机并失败:
Error Syncing Cookbooks:
================================================================================
Networking Error:
-----------------
Error connecting to https://**3442f619df6f**/bookshelf/organization-00000000000000000000000000000000/checksum-cessKeyId=bd33427fd1d9ef165ef9e70120064ec - getaddrinfo: Name or service not known
Your chef_server_url may be misconfigured, or the network could be down.
chef_server_url "https://mymackine.compute.amazonaws.com:443"
如何配置chef-client使用AWS主机名而不是docker ID?
答案 0 :(得分:0)
我们不支持在Docker中运行Chef Server,请按照实际的安装说明进行操作。