Koozali.org: home of the SME Server

Closed

guest22

Closed
« on: September 11, 2014, 10:39:20 PM »
This is the place to discuss Docker on SME Server.

Please see: http://wiki.contribs.org/Docker

Offline Xavier.A

  • ***
  • 104
  • +0/-0
Re: Docker on SME Server
« Reply #1 on: September 13, 2014, 06:16:26 PM »
@RequestedDeletion

OK, we will try to collaborate with you...I will study the possibility to give you access to our git server but for the moment i 'm moving the server to a new data center, may be next month ;-)

I'm agree with all you 've wrote in the wiki page except for :
Code: [Select]
access=public
why public access ?

regards,
“When the wise man points to the moon, the fool looks at the finger.”

guest22

Re: Docker on SME Server
« Reply #2 on: September 13, 2014, 06:50:47 PM »
Hi Xavier,

that's good news indeed. Looking forward to that!

The db commands are loose notes and should be remove. It was a leftover from Shipyard thinking and that Shipyard can run on a very different host and thus needs access to other hosts. Hence the 'public' entry on Docker hosts.

Meanwhile there is another page that is specifically geared towards designing an Docker RPM.

http://wiki.contribs.org/Docker_design_concept

All is a work in progress and feel free to ass your notes. Eventually we will get there.

Regards,
guest

Offline Xavier.A

  • ***
  • 104
  • +0/-0
Re: Docker on SME Server
« Reply #3 on: September 13, 2014, 06:59:45 PM »
Meanwhile there is another page that is specifically geared towards designing an Docker RPM.
http://wiki.contribs.org/Docker_design_concept
Good,
what about cgroups ?

I wrote  there : http://www.smeserver.eu/co/tuto-Permettre_a_SME_Server_Edu_d_heberger_des_conteneurs_Linux__LXC_.html how to activate cgroups in SME 9, it was for LXC but it could be necessary for Docker containers, no?
“When the wise man points to the moon, the fool looks at the finger.”

guest22

Re: Docker on SME Server
« Reply #4 on: September 13, 2014, 07:09:30 PM »
AFAIK (just checked on a fresh install)

* crgoups and LXC dependecies are automatically installed as dependency for docker-io
* cgconfig is started automatically by docker
* cgred is not started, so this needs to be adressed.

It's a bit hard reading on the Docker docs for some pages are outdated and speak of Docker before 1.0 release wgere LXC was a requirement, but they dropped that requirement.

guest

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Docker on SME Server
« Reply #5 on: September 13, 2014, 09:09:11 PM »
@RequestedDeletion

OK, we will try to collaborate with you...I will study the possibility to give you access to our git server but for the moment i 'm moving the server to a new data center, may be next month ;-)


I guess "you"  means "you, the community"
Good To know, we will wait
Thank you

guest22

Re: Docker on SME Server
« Reply #6 on: September 13, 2014, 09:33:02 PM »
I guess "you"  means "you, the community"

I'm sure that is the intention. So let's start out small and leave history behind.

@Xavier,

Let me know if you had the chance to read up on the LXC part in Docker today. If you want to add your findings to the wiki, please be my guest.

guest

Offline Xavier.A

  • ***
  • 104
  • +0/-0
Re: Docker on SME Server
« Reply #7 on: September 14, 2014, 09:27:17 AM »
@Stefano
I guess "you"  means "you, the community"
I like your pugnacity, so maybe i'm changing my point of view...I will try but I can't speak for all the team especially the graphist who worked on the Koozali graphical chart ;-)

@RequestedDeletion
for the panel, I found
which one could be the best piece of code to start? Eixo::Docker seems to be interesting.
« Last Edit: September 14, 2014, 09:29:19 AM by Xavier.A »
“When the wise man points to the moon, the fool looks at the finger.”

guest22

Re: Docker on SME Server
« Reply #8 on: September 14, 2014, 03:12:03 PM »
which one could be the best piece of code to start? Eixo::Docker seems to be interesting.

Looking at the various interaction events provided, I also believe Eixo::Docker would provide all the basics we need. Together with the db entries for various options on images, containers and events, then all is needed is sewing them together to a limited but rock solid e-smith commands. For now I would suggest we leave anything that as to do with images out of the equation (pull/build/commit etc), and work with a sample image to get things done.

One thing we do need to keep in mind is the fast pase in which Docker being developed and if this pase is followed by Eixo::Docker and if this library is stable and maintained for the long term.

@stephdl, what do you think pls?

guest
 

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Docker on SME Server
« Reply #9 on: September 14, 2014, 07:55:12 PM »
I like your pugnacity, so maybe i'm changing my point of view...

we all hope so

Quote
I will try but I can't speak for all the team especially the graphist who worked on the Koozali graphical chart ;-)

sincerely, IMHO this statement was not necessary and uselessly polemical

In any case, we all will wait for you to share your work with us.

TIA

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Docker on SME Server
« Reply #10 on: September 15, 2014, 06:23:36 PM »
@stephdl, what do you think pls?

I'm at the step of googling the topic, nothing more yet. It is quite interesting and surely it could be nice for us. Unfortunately I face many fronts and I cannot be everywhere :)
So it will be good to investigate docker and write a good howto in the wiki. Once done, the RPM could be the easy part.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

guest22

Re: Docker on SME Server
« Reply #11 on: September 15, 2014, 07:12:14 PM »
Thanks stephdl,

once you have found some time to read up to Docker, I would l appreciate your feedback on using Eixo::Docker as basis for future developments of the usage of Docker on SME Server.

No hurry!

Cheers,
guest

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Docker on SME Server
« Reply #12 on: September 19, 2014, 06:51:47 PM »
A really good show of solomon hykes, the CEO of docker to bring the docker concept.

https://www.youtube.com/watch?v=_DOXBVrlW78

The guy is really good, normal he is French  :lol:
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

guest22

Re: Docker on SME Server
« Reply #13 on: September 20, 2014, 07:18:30 AM »

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Docker on SME Server
« Reply #14 on: September 20, 2014, 08:41:58 AM »
RequestedDeletion

All of http://smeserver.eu/ appears to be down
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.