簡體   English   中英

Docker和Puppet

[英]Docker and Puppet

我創建了一個安裝了木偶的Docker容器。 我想通過在/etc/puppet/puppet.conf文件中配置了服務器的puppet agent -t啟動一個木偶。

我收到此錯誤:

dnsdomainname: Name or service not known
warning: peer certificate won't be verified in this SSL session
warning: peer certificate won't be verified in this SSL session
warning: peer certificate won't be verified in this SSL session
Exiting; no certificate found and waitforcert is disabled

但是當我對人偶主主機名進行dig時,我確實得到了返回的有效記錄。 所以我不確定為什么會出現該dnsdomainname錯誤。 任何幫助,將不勝感激!

我發現自己在做什么錯。 我必須在/ etc / hosts文件中放置一個條目,以將容器的IP映射到localhost。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM