0

I would like to try new features in latest version of docker (1.10 for now), like "docker networks" and "docker volume".

I have CentOs 6 and I CAN NOT upgrade OS due to some restrictions (understand I can use latest docker in centos 7). I do have root permission.

I am wondering what's the options I have to try latest docker?

Mike Zhao
  • 420
  • 6
  • 12
  • Possible duplicate of [Upgrade docker on CentOS 7](http://stackoverflow.com/questions/26472586/upgrade-docker-on-centos-7) – Funonly Apr 04 '16 at 12:38
  • I am aware of this: http://stackoverflow.com/questions/34872129/how-to-install-docker-1-9-in-centos-6-5, I am currently thinking about docker in docker, because I can't upgrade my OS due to company policy, but it will be gread that some one can point me to a better solution – Mike Zhao Apr 04 '16 at 14:14

2 Answers2

1

You can try to use a static binary to run docker, but this is all at your own risk; CentOS 6 runs on kernel 2.6, which is 13 years old now. That kernel misses various things needed to run Docker (e.g. Overlay networking is not supported), and is known for having some issues.

Note that running docker-in-docker may get you around "installing" docker 1.10, but will still run on the same kernel, so you'll end up with the same issues

thaJeztah
  • 27,738
  • 9
  • 73
  • 92
  • Thanks. I checked the kernel version, yes, event with /etc/redhat-release mentioned "CentOS Linux release 7.2.1511 (Core)", the uname -r still print 2.6.32-573.18.1.el6.x86_64. sad :( – Mike Zhao Apr 04 '16 at 17:32
  • You should be able to update your kernel to a newer version; CentOS 7.2 ships with kernel 3.10 if I recall correctly – thaJeztah Apr 08 '16 at 16:15
0

You could install docker-machine and run docker-machine upgrade default

As described here

EDIT - This does not apply to you

But this question is possibly a duplicate of yours

Community
  • 1
  • 1
Funonly
  • 283
  • 1
  • 13
  • Hey @Simon. I understand I can use latest docker in centOs 7, but as I mentioned, I can't upgrade my OS. I was thinking about docker in docker, but I would like to ask around to get even better ideas. – Mike Zhao Apr 04 '16 at 13:28
  • @MikeZhao All of the information in the linked question should also be applicable to centOS 6 – Funonly Apr 04 '16 at 13:46
  • please note that I am using centOS6, with can not install docker 1.9+. To reply your comment, I did some search, and found this one: http://stackoverflow.com/questions/34872129/how-to-install-docker-1-9-in-centos-6-5 – Mike Zhao Apr 04 '16 at 14:14