Project

General

Profile

Actions

Question #21054

open

Dockerize rudder-server

Added by Nicolas Ecarnot almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Server components
Regression:

Description

Hello,

It would be great to be able to run the complete Rudder server and all its components in a docker environment.
Has this already been an idea that has interested someone?

Actions #1

Updated by Benoît PECCATTE almost 2 years ago

  • Target version set to Ideas (not version specific)

Hi,

Would you like to try it ?
We tested it, but some work is needed to make it work as anyone may like.
First you can use this as a base : https://github.com/Normation/rudder-tools/blob/master/ubuntu.Dockerfile/Dockerfile
You should replace the Rudder version from 6.1 to 7.1

One this to be careful of is that Rudder saves its state on the filesystem and modifies some system files according to its own configuration, so the container must be mostly writable.
Another thing is that it needs port 80, 443, 5309, 8080 and postgres available for listening.

Finally you cannot upgrade the container since Rudder has upgrade script that run during the package postinstall.

Tell me if you you want to help me make this better.

Regards,

Actions #2

Updated by Nicolas Ecarnot almost 2 years ago

For the record :
Actions #3

Updated by Nicolas Ecarnot almost 2 years ago

Benoît,

I'd be glad to test it, and I just did.
When launching a docker build, I see that systemctl.py is missing (there is no files/docker/systemctl.py bc there is no files dir).
Is it something we can find somewhere else?

Nicolas

Actions

Also available in: Atom PDF