[chef] RE: Re: Docker install cookbook error


Chronological Thread 
  • From: Jeremy Mauro < >
  • To: " " < >
  • Subject: [chef] RE: Re: Docker install cookbook error
  • Date: Fri, 28 Nov 2014 09:51:38 +0000
  • Accept-language: fr-FR, en-US

Hey for CentOS 6.5 we are using this version of docker :

$ rpm -qa docker*

docker-io-1.1.2-1.el6.x86_64

 

If you used a much recent version you could encounter this kind of issue. I hope it helps.

 

 

Regards,

JM

 

From: kritivagop01 . [mailto:
Sent: vendredi 28 novembre 2014 10:45
To:
Subject: [chef] Re: Docker install cookbook error

 

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.

§