This point isn’t quite clear to me, do we need to move Docker support to 7 only?
Yep! It seems we can only play with old Docker versions on 6!
NethServer rule #1: follow upstream
yes i’m in server-only mode…
tnx for the hint… with a new search i found
last post, but on centos6 in /etc/sysconfig/docker, other_args instead of DOCKER_OPTS.
now finally the owncloud container can contact the ldap on host…
but i need to study/evaluate docker for work so i think i’ll start to do some test on centos7
Do you remember? NethServer 7 alpha1 is waiting for us
Good, please keep us in touch if you like to move forward on NethServer 7 could be really helpful.
yes i remember, the vm is up and running (i like the alpha/beta stage ) ready to test docker… one info on nethserver rule #1:
on centos7 i can install docker from:
1: Docker (recompiled from RHEL 7) is included in the CentOS-Extras repository (docker.x86_64-1.7.1-108)
2: a more up to date version of docker, on the virt SIG repository (docker-1.8.1-5.git32b8b25)
3: from docker repo (docker-engine-1.8.1-1)
so the preferred way on nethserver shoud be the 1st option, right?
and… there also other rules?
I’d prefer the one from RHEL.
I don’t know why the virt SIG has its own QA process and provide a more recent version. The point is what does the SIG compile? RHEL or Docker?
…and of course there are other rules (and exceptions), I love exceptions
I was hoping Docker will be in NethServer
I’m exploring Docker these days (doing a Online Course)
Rancher give a nice interface and propose apps : http://docs.rancher.com/rancher/latest/en/quick-start-guide/
Looks amazing. Managing Docker in a easy way would be awesome. How are your test going?
BTW happy to see you still around man.
Ya! I was missing the dynamic of this community
But all my works and clients are on .DEB
For now Rancher sound a great working alternative of what they try to do with the Docker 1.12 and their UCP.
I’ll see, until the end of the month I have to convince one of my client to switch from Proxmox (KVM LXC) to Docker+Rancher which is able to manage Docker + KVM.
@davidep do you have any plan on this? Could making docker deployment easy be our new 7 goal?
No plans for it until Final has been released.
After a few experiences with Docker on and off with CoreOS, RancherOS, Debian & Ubnutu
Digging into Forum and HowTo, …
Some people consider and do it on this way…
At the beginning I thought they were a bunch of fools, but with time, I adopted this technique mainly for security purposes.
- So… the Ubuntu Community propose to run Docker into LXD
- Some hardcore Docker users turn Docker into Docker
- And finally what I think might be a good direction for NethServer is to run Docker into a KVM.
In that case; you demilitarize your docker images and keep a layer between those images that are not always trustableéwell-known and your data hosted on NethServer.
For example: I’m mounting some directories into some dockers through NFS via an exclusive internal interface.
If you choose this way, it’s way less maintenance for the Neth Team
and way more secure
That was my 2 cents on this topic; I hope you like it!
Thanks for your advice, I think that docker will be a killer application for our next release! We have to think the best approach for NethServer, trying to keep things as simple as possible
Please keep hanging around, you won’t regret it.
On an inverted Docker note, there is an offical centos 7 dockerfile (container) on Docker Hub.
This would mean that you could install Nethserver in a docker container using a centos installation method. This also allows for the possibility of developing our own Nethserver containers for distribution.
Oh, wait… post is for nothing. Looks like this has already been toyed with…
That’s the demo of NethServer running on the official http://www.nethserver.org/demo-running-on-docker/
We have plans to work on docker after the final release of NethServer 7.
Not sure i’m following the same idea of @Walter_Schoenly
But just in case KVM into Docker exemple :
Have somethings moved in the meantime?
I’m experimenting Docker in 7 with little integration with standard Community release (some tweaks with shorewall and some with default values but quite fine). At the moment I have all the stuff manually set up, trying to get this working with NextCloud (no avail for the moment).
Also, do you plan to have a GUI? (I have seen there’s a
cockpit-docker package but I didn’t check it out toroughly). I would advice Portainer as a GUI, if cockpit is not going to be ok with 7.
I think firewall rules integration was the biggest issue. Now that the shorewall developers fixed it we could integrate the solution (trivial):
# grep -n -i docker /etc/shorewall/* /etc/shorewall/shorewall.conf:174:DOCKER=No # <- change to "Yes"
I’ve no plans to develop neither an API nor a GUI for NethServer+Docker at this moment: there are too many use-case specific requirements (things that depend on what I install), and few general requirements (backup? front-end http?..). I’d start with a howto/prototype, as usual, to catch them all!
To change shorewall.conf:
config setprop firewall Docker enabled signal-event firewall-adjust