Tag: 食谱

在窗口上的Docker厨师菜谱

我正在使用厨师客户端与泊坞窗运行食谱。 它在Ubuntu上运行,但在Windows上给出错误。 docker的依赖已经添加到食谱。 https://supermarket.chef.io/cookbooks/docker 我正在使用docker食谱的例子。 docker_image 'busybox' do action :pull end Error : Recipe: tomcatcookbook::default * docker_image[busybox] action pull[2017-11-01T14:02:43+05:30] INFO: Processing docker_image[busybox] action pull (tomcatcookbook::default line 6) ================================================================================ Error executing action `pull` on resource 'docker_image[busybox]' ================================================================================ Excon::Error::Socket ——————– An address incompatible with the requested protocol was used. – socket(2) (Errno::EAFNOSUPPORT) Resource Declaration: ——————— # In […]

在docker'systemctl错误'连接到总线失败:没有这样的文件或目录'

我用docker在Ubuntu上使用Ubuntu-16.04镜像在本地testing我的食谱。 在做kitchen converge ,我收到以下错误。 我发现systemctl工作不正常。 有人可以帮助我解决这个问题或任何其他方式来实现相同的事情? [2017-11-30T15:22:30+00:00] INFO: Running queued delayed notifications before re-raising exception Running handlers: [2017-11-30T15:22:30+00:00] ERROR: Running exception handlers Running handlers complete [2017-11-30T15:22:30+00:00] ERROR: Exception handlers complete Chef Client failed. 9 resources updated in 06 seconds [2017-11-30T15:22:30+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out [2017-11-30T15:22:30+00:00] FATAL: Please provide the contents of the stacktrace.out file […]