[chef] Re: Re: Re: Docker install cookbook error


Chronological Thread 
  • From: Christopher Farnham < >
  • To:
  • Subject: [chef] Re: Re: Re: Docker install cookbook error
  • Date: Mon, 1 Dec 2014 10:58:31 -0500

All,

I had the same issue and was able to get past it by doing a 'yum update -y' before running.


Best,
Chris



On Fri, Nov 28, 2014 at 4:51 AM, Mukta A < " target="_blank"> > wrote:
I keep seeing that error.

On 28 November 2014 at 15:14, kritivagop01 . < " target="_blank"> > wrote:
hi,

kill existing pid for docker start again 

     /var/run/docker.pid still exists...


thanks,


On Fri, Nov 28, 2014 at 3:09 PM, Mukta A < " target="_blank"> > wrote:
Hi

I am trying to install docker using the Docker cookbook. I get the following error.
The target OS is centos 6.5 . Is that an issue? Please help.

* service[docker] action start


     ================================================================================

     Error executing action `start` on resource 'service[docker]'

     ================================================================================


     Mixlib::ShellOut::ShellCommandFailed

     ------------------------------------

     Expected process to exit with [0], but received '7'

     ---- Begin output of /sbin/service docker start ----

     STDOUT: [FAILED]

     /var/run/docker.pid still exists...

     STDERR:

     ---- End output of /sbin/service docker start ----

     Ran /sbin/service docker start returned 7


     Resource Declaration:

     ---------------------

     # In /var/chef/cache/cookbooks/docker/recipes/sysv.rb


      21: service 'docker' do

      22:   supports :status => true, :restart => true, :reload => true

      23:   action [:start, :enable]

      24: end


     Compiled Resource:

     ------------------

     # Declared in /var/chef/cache/cookbooks/docker/recipes/sysv.rb:21:in `from_file'


     service("docker") do

       action [:start, :enable]

       updated true

       supports {:status=>true, :restart=>true, :reload=>true}

       retries 0

       retry_delay 2

       guard_interpreter :default

       service_name "docker"

       enabled true

       running true

       pattern "docker"

       cookbook_name "docker"

       recipe_name "sysv"

     end


 Recipe: ntp::default

   * service[ntpd] action restart

     - restart service service[ntpd]







Archive powered by MHonArc 2.6.16.

§