[chef] Re: Docker install cookbook error


Chronological Thread 
  • From: Mukta A < >
  • To:
  • Subject: [chef] Re: Docker install cookbook error
  • Date: Fri, 28 Nov 2014 15:14:10 +0530

To add - I think there is a compatibility issue with CentOS 6.5 and Docker. I thought the cookbook takes care of it.

# docker -d

2014/11/28 04:41:10 docker daemon: 1.3.1 c78088f/1.3.1; execdriver: native; graphdriver:

[5c5ed120] +job serveapi(unix:///var/run/docker.sock)

[info] WARNING: You are running linux kernel version 2.6.32-431.el6.x86_64, which might be unstable running docker. Please upgrade your kernel to 3.8.0.

[info] Listening for HTTP on unix (/var/run/docker.sock)

docker: relocation error: docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference

 


On 28 November 2014 at 15:09, 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.

§