Unable to install Docker on CentOS 6

I started learning Docker Course. Currently, I am using Ubuntu 12.04. I have created a centos 6 image from the Lab Server. After connecting to the server, getting error as:
[root@ip-172-31-96-216 ~]# yum install docker-io
Loaded plugins: fastestmirror, presto
Setting up Install Process
Loading mirror speeds from cached hostfile
Illegal instruction

[root@ip-172-31-96-216 ~]# yum update
Loaded plugins: fastestmirror, presto
Setting up Update Process
Loading mirror speeds from cached hostfile
Illegal instruction

Can someone please help with this??
  • post-author-pic
    Wiktor Z
    05-28-2016

    Hi, as far as I know docker requires at least centos7 and kernel newer than 3.10 to work. Check uname -r on that machine.

  • post-author-pic
    Anurag B
    05-31-2016

    Hey,

    Thanks for the reply. The uname -r on that machine is 2.6.32-642.el6.x86_64. Will try with Centos 7 and will keep updated.

  • post-author-pic
    Anurag B
    05-31-2016

    Its working now - Thanks

  • post-author-pic
    Wiktor Z
    06-01-2016

    great to hear that it works now.
    and as you can see your kernel version in centos6 was way too old to support docker containers...

  • post-author-pic
    Anurag B
    06-01-2016

    Yes, that's true. Resolved the issue - Thanks

Looking For Team Training?

Learn More