title: Error Resolving Cookbooks for runlist: missing cookbooks: No such Cookbook 'docker'
body: <p>I am trying to run this</p>
  <p><code>Berksfile</code>:</p>
  <pre class="lang-rb prettyprint-override"><code>source 'https://supermarket.chef.io'
  metadata
  </code></pre>
  <p><code>metadata.rb</code>:</p>
  <pre class="lang-rb prettyprint-override"><code>name 'my_jenkins_cookbook'
  
  depends 'git'
  depends 'ruby_rbenv'
  depends 'jenkins'
  depends 'java'
  depends 'docker'
  
  version '0.0.2'
  </code></pre>
  <p>I have also tried will the required cookbooks in local and it doesn't locate <code>jenkins_job</code> resource from the <code>jenkins_job</code> cookbook.</p>
  <p>Can someone help me with this blockage please?</p>
  <p><img src="https://i.stack.imgur.com/PPMsV.png" alt="Image - is the error" /></p>
  <p>TERMINAL OUTPUT:</p>
  <pre><code> [DEBUG] Running command 4-run-chef-solo
   [DEBUG] No test for command 4-run-chef-solo
   [ERROR] Command 4-run-chef-solo (chef-solo -c /tmp/chef/solo.rb -j /tmp/chef/jenkins.json) failed
   [DEBUG] Command 4-run-chef-solo output: Starting Chef Infra Client, version 17.0.242
  Patents: https://www.chef.io/patents
  resolving cookbooks for run list: [&quot;my_jenkins_cookbook::jenkins_jobs&quot;, &quot;my_jenkins_cookbook::jenkins_views&quot;, &quot;my_jenkins_cookbook::setup_jenkins_users&quot;]
  
  ============================================================
  Error Resolving Cookbooks for Run List:
  ============================================================
  
  Missing Cookbooks:
  ------------------
  No such cookbook: docker
  
  Expanded Run List:
  ------------------
  * my_jenkins_cookbook::jenkins_jobs
  * my_jenkins_cookbook::jenkins_views
  * my_jenkins_cookbook::setup_jenkins_users
  
  System Info:
  ------------
  chef_version=17.0.242
  platform=ubuntu
  platform_version=18.04
  ruby=ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-linux]
  program_name=/usr/bin/chef-solo
  executable=/opt/chef/bin/chef-solo
  
  Running handlers:
   ERROR: Running exception handlers
  Running handlers complete
   ERROR: Exception handlers complete
  Chef Infra Client failed. 0 resources updated in 26 seconds
   FATAL: Stacktrace dumped to /tmp/chef/local-mode-cache/cache/chef-stacktrace.out
   FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
   FATAL: Net::HTTPServerException: 412 &quot;Precondition Failed&quot;
  </code></pre>