Question #21054
open
Added by Nicolas Ecarnot over 2 years ago.
Updated over 2 years ago.
Category:
Server components
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?
- 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,
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
Also available in: Atom
PDF