我正在尝试使用Chef配置Docker容器,我正在使用刀独奏和图书管理员厨师。
我获得了docker cookbook并创建了一个测试配方,但是当执行knife solo bootstrap nodo@192.168.150.78
时返回
Enter the password for nodo@192.168.1.7:
Starting Chef Client, version 12.6.0
Compiling Cookbooks...
================================================================================
Recipe Compile Error
================================================================================
Chef::Exceptions::RecipeNotFound
--------------------------------
could not find recipe default for cookbook docker
Running handlers:
[2016-01-22T13:54:17-05:00] ERROR: Running exception handlers
Running handlers complete
[2016-01-22T13:54:17-05:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 00 seconds
[2016-01-22T13:54:17-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-01-22T13:54:17-05:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-01-22T13:54:17-05:00] ERROR: could not find recipe default for cookbook docker
[2016-01-22T13:54:17-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
ERROR: RuntimeError: chef-solo failed. See output above.
和cookbook / docker / recipe文件夹和default.rb文件被删除。
为了测试,我尝试使用apache cookbook,这很有效。
我能解决这个问题吗?