Refactor #18732
openMake Foreman Containerizable
Description
Currently, it's completely unclear how to install TheForeman in a container. Parts of the setup, like the use of proxies to enable the Foreman UI, defy the ability to treat TheForeman as a service answering on a specific port.
TheForeman needs to be installable in a container because it's the only way to support a reasonable number of platforms. For example, there is no support for the current version of Fedora. In the future, many servers will not support installing applications on the base OS or changing network configurations, and will require installation via container.
I'm opening this issue in order to collect ideas about what needs to change in TheForeman to make installing it in a container possible. Willing to help with packaging once we get that far, but I know very little about Foreman's internals.
Updated by Ohad Levy over 7 years ago
First of all, I'm very happy you opened this issue - thanks!
I just wanted to bring awareness to https://github.com/shlomizadok/foreman-docker-compose which was an initial attempt to get multiple containers representing foreman.
Of course - the more components (puppet, remote execution, scap, discovery, katello etc) the harder the solution is..
there are also a few pending PR on that repo that got stuck at some point in time.
feedback welcomed.
Ohad
Updated by Josh Berkus over 7 years ago
Ohad Levy wrote:
First of all, I'm very happy you opened this issue - thanks!
I just wanted to bring awareness to https://github.com/shlomizadok/foreman-docker-compose which was an initial attempt to get multiple containers representing foreman.
Of course - the more components (puppet, remote execution, scap, discovery, katello etc) the harder the solution is..there are also a few pending PR on that repo that got stuck at some point in time.
feedback welcomed.
Ohad
So ... I have never successfully installed Foreman before anywhere. So figuring out what's wrong with the containerized install is prohibitively difficult for me. I'm happy to test stuff if someone has something in reasonable working condition, but I can't do anything about known broken code.
Updated by Josh Berkus over 7 years ago
Josh Berkus wrote:
So ... I have never successfully installed Foreman before anywhere. So figuring out what's wrong with the containerized install is prohibitively difficult for me. I'm happy to test stuff if someone has something in reasonable working condition, but I can't do anything about known broken code.
If someone who knows how to install and operate TheForeman wants to help me, I know quite a bit about Docker and Kubernetes.
Updated by Ohad Levy over 5 years ago
- Blocked by Feature #27308: add dockerfile to smart proxy added