Skip to Content.
Sympa Menu

en - Re: [sympa-users] Docker for Sympa

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Docker for Sympa
  • Date: Tue, 20 Mar 2018 16:39:23 +0100

Oh great, so nothing opposes to have a Sympa docker images.

If it is useful, of course.

Regards,

David


On 20/03/2018 16:35, Matthew Caron wrote:
You can run multiple processes inside docker. I'm not sure where folks
got the idea that it can only do one.

From a user perspective, a docker install looks like any other
virtualized server install. You can specify what packages you have when
you spin up the container, and then you can install and configure your
own stuff however you like.

For example: at work, we containerized our build system so that everyone
uses the requisite Ubuntu 16.04 system, set up a certain way, in order
to ensure predictable results. However, everyone runs a mix of Mint,
Ubuntu, Fedora, Arch, etc. on their desktops, according to personal
preference. You can pass the build a -j argument with the number of jobs
and it will spin up that many jobs. I have 4 cores, hyperthreaded, so I
run it with -j 8.

On 03/20/2018 05:15 AM, David Verdin wrote:
Interesting. If You can have only one process on Docker, we'll have
troubles; The fork is at the core of Sympa behaviour.

We use it to send emails, to tweak distribution rate based on the number
of bulks, to create new fcgi processes, etc.

If the number of processes is really a problem, you'd better give up
Docker for Sympa.

We have a working Ansible playbook on sympa-vommunity if you want to
ease deployment.

Best regards,

David


On 16/03/2018 17:28, Dave Page wrote:
On Wed, Mar 14, 2018 at 08:20:08AM +0100, Marc Chantreux wrote:

we started your own one during the last hackathon but we never finished
it because:

* the philosophy of docker is to contain one process by image
* sympa run multiple processes
I'm not sure that /is/ the philosophy of Docker. The philosophy is one
/workload/ per image, IME. For example, the FreeIPA Docker container -
https://www.freeipa.org/page/Docker - which runs an LDAP server, web
server,
Kerberos server and other things in one container, to provide one
coherent set
of functionality.

Cheers,
Dave

--
"Mieux vaut viser la perfection et la rater que viser la médiocrité et
l'atteindre."
- Francis Blanche


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page