× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973

Re: Docker 1.10.3 running on ReadyNASOS 6.5.0-T338 (Beta 2)

powareverb
Star

Docker 1.10.3 running on ReadyNASOS 6.5.0-T338 (Beta 2)

Hey guys,

 

Just had to shout this out, as I'm kinda excited at the possibilities.  Managed to get Docker running on my VirtualBox ReadyNAS running OS 6.5.0 last night, and it didn't take nearly as much work as I had expected.  Needs some kernel config adjustments, but things are so very close with this latest kernel the Netgear guys have given us.

Netgear guys - is there any possibility these additional kernel configs I've detailed below could make it into a beta at some stage?  Most are CGROUP related, which I think are a good idea to include anyhow (system.d), and some are able to be modularized, so people can load them if they want them.

Why is this good?  Because with this, docker lets us run a personal cloud on our ReadyNAS devices.  It's like running VirtualBox, but with much less virtualization (e.g. less CPU overhead, less memory).  More details here: https://www.docker.com/.

Other than Kernel changes, only other change I had to make was running init-system-helpers from wheezy-backports - I've not noticed any issue with this so far on the virt server, but there may be something I've missed.

 

Some caps:

 

 

root@nas-virtualbox:/usr/src/linux# docker version
Client:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 15:48:06 2016
 OS/Arch:      linux/amd64
 
Server:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 15:48:06 2016
 OS/Arch:      linux/amd64
 
root@nas-virtualbox:~# docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
03f4658f8b78: Pull complete
a3ed95caeb02: Pull complete
Digest: sha256:8be990ef2aeb16dbcb9271ddfe2610fa6658d13f6dfb8bc72074cc1ca36966a7
Status: Downloaded newer image for hello-world:latest
 
Hello from Docker.
This message shows that your installation appears to be working correctly.

 

 

Diff if you're interested - this is the changes required for Kernel 4.1.19.x86_64.1, which is part of the latest ReadyNASOS 6.5.0-T338 (Beta 2)

 

 

74,75c74
< CONFIG_POSIX_MQUEUE=y
< CONFIG_POSIX_MQUEUE_SYSCTL=y
---
> # CONFIG_POSIX_MQUEUE is not set
143,145c142,143
< CONFIG_BUILD_BIN2C=y
< CONFIG_IKCONFIG=m
< CONFIG_IKCONFIG_PROC=y
---
> # CONFIG_BUILD_BIN2C is not set
> # CONFIG_IKCONFIG is not set
153,161c151,155
< CONFIG_CGROUP_FREEZER=y
< CONFIG_CGROUP_DEVICE=y
< CONFIG_CPUSETS=y
< CONFIG_PROC_PID_CPUSET=y
< CONFIG_CGROUP_CPUACCT=y
< CONFIG_PAGE_COUNTER=y
< CONFIG_MEMCG=y
< # CONFIG_MEMCG_SWAP is not set
< # CONFIG_MEMCG_KMEM is not set
---
> # CONFIG_CGROUP_FREEZER is not set
> # CONFIG_CGROUP_DEVICE is not set
> # CONFIG_CPUSETS is not set
> # CONFIG_CGROUP_CPUACCT is not set
> # CONFIG_MEMCG is not set
360c354
< CONFIG_FREEZER=y
---
> # CONFIG_FREEZER is not set
643c637
< CONFIG_PACKET=m
---
> CONFIG_PACKET=y
1285,1286c1279
< CONFIG_MACVLAN=m
< CONFIG_MACVTAP=m
---
> # CONFIG_MACVLAN is not set
1294c1287
< CONFIG_VETH=m
---
> # CONFIG_VETH is not set

 

If you're interested, flick me a message and I can write up some documentation of how to get this running.


Gav

 

 

 

Model: RN51600|ReadyNAS 516 6-Bay Diskless
Message 1 of 3
mdgm-ntgr
NETGEAR Employee Retired

Re: Docker 1.10.3 running on ReadyNASOS 6.5.0-T338 (Beta 2)

Nice work. You might want to suggest Docker support in the Ideas Exchange if it is not already mentioned there.

Message 2 of 3
powareverb
Star

Re: Docker 1.10.3 running on ReadyNASOS 6.5.0-T338 (Beta 2)

Message 3 of 3
Discussion stats
  • 2 replies
  • 6881 views
  • 2 kudos
  • 2 in conversation
Announcements