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: Matthew Caron <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Docker for Sympa
  • Date: Tue, 20 Mar 2018 14:12:50 -0400

On 03/20/2018 01:33 PM, Miles Fidelman wrote:
> On Tue, Mar 20, 2018 at 12:20:57PM -0400, Matthew Caron wrote:
>>> The same way you'd handle it on any other server.
>>> It may help to think of docker as just another VM, just like running one
>>> in VirtualBox or VMWare. The technical underpinnings matter very little.
> Well, that's not exactly true.
> Given that installing Sympa relies on CPAN, and running it relies on
> your mail environment (and probably antispam & antivirus) - getting the
> entire environment set gets a little tricky, and the technical
> underpinnings matter a lot.  And then you get into the whole issue of
> failover & recovery model.

FROM ubuntu:16.04

RUN apt-get update && apt-get install --recommends <probably some other
stuff> cpan

RUN cpan get the stuff we need

That's your base image. You probably want sympa in some directory
accessible from the host, and then you just do the config there.

You have the host start it by running docker which runs the sympa start
script. Graceful shutdown might be an issue.

> Me, I run my mail environment in a Xen VM, with failover to a second
> machine - using DRBD to replicate disks.  It all works.  I expect that
> setting things up inside containers wouldn't be all that much more
> tedious - but there's lots of stuff to install, and interfaces to be
> considered.  Your mileage may vary.

I run mine on just bare metal (inasmuch as a hosted linode instance is
bare metal). Abstracts all the failover away because it happens
seamlessly because of the VM hosting layer thay provide.

I think the core here is what is the actual user story. It sounds to me
like someone said "I had problem X, I think we can fix it with docker".

The real questions are, "what is problem X", and "is docker really the
best solution"?

It could be that you're right, and docker isn't best suited for that,
and a virtualbox image would be better. The difference in overhead is
pretty low these days.

--
Central planning is as smart as the aggregate intelligence of the
central planning committee. A market is as smart as the aggregate
intelligence of the participants in that market.
==
PGP Key: http://www.mattcaron.net/pgp_key.txt
~~ Matt Caron ~~




Archive powered by MHonArc 2.6.19+.

Top of Page