Foreman in a container

Is anyone running Foreman in production in a container? I'm working on a
new installation and I'd much rather get it running in a container than on
a VM.

I see some containers on Docker hub (there's a foreman nightly build
https://hub.docker.com/r/foreman/foreman/ ) but it looks mostly abandoned
because last push was a year ago.

It doesn't seem like it would be too difficult if I put postgres on an
external host and opened the correct ports to the container.

Anyone already doing this and have an example I can build from or someone
have thoughts on components that may be hard to containerize?

Justin Garrison píše v Pá 07. 10. 2016 v 07:14 -0700:
> Is anyone running Foreman in production in a container? I'm working
> on a new installation and I'd much rather get it running in a
> container than on a VM.
>
> I see some containers on Docker hub (there's a foreman nightly build
> https://hub.docker.com/r/foreman/foreman/ ) but it looks mostly
> abandoned because last push was a year ago.

I tried one few years ago (https://github.com/lzap/foreman-docker) just
to get familiar with Docker. When I found how it works (and its
weaknesses), I abandoned my effort. I personally don't like their idea
and the tool itself, a container should have been just a compressed
image (squashfs or tarball) from the day one. The git-like history is
absurd idea. Sorry for the out-of-topic :slight_smile:

I know someone else from the team tried some time ago as well. That
effort went little further, I assume.

··· -- Later, Lukas "lzap" Zapletal
Has this gotten any further traction or consideration?
Just wondering if it was abandoned or anyone has done more with this?

··· On Tuesday, October 11, 2016 at 2:16:19 AM UTC-5, Lukas Zapletal wrote:

Justin Garrison píše v Pá 07. 10. 2016 v 07:14 -0700:
Is anyone running Foreman in production in a container? I'm working
on a new installation and I'd much rather get it running in a
container than on a VM.

I see some containers on Docker hub (there's a foreman nightly build
https://hub.docker.com/r/foreman/foreman/ ) but it looks mostly
abandoned because last push was a year ago.

I tried one few years ago (https://github.com/lzap/foreman-docker) just
to get familiar with Docker. When I found how it works (and its
weaknesses), I abandoned my effort. I personally don't like their idea
and the tool itself, a container should have been just a compressed
image (squashfs or tarball) from the day one. The git-like history is
absurd idea. Sorry for the out-of-topic :-)

I know someone else from the team tried some time ago as well. That
effort went little further, I assume.

--
Later,
Lukas "lzap" Zapletal

Even though you said production, I think you might still be interested to know that we have toyed with the idea of Foreman/Katello in containers here [1]. I believe it works with some caveats (documented in the readme there).

[1] https://github.com/theforeman/forklift/tree/master/containers

··· On Thu, Nov 30, 2017 at 12:23 PM, Jason McMahan <jason.m.mcmahan@gmail.com> wrote:

Has this gotten any further traction or consideration?
Just wondering if it was abandoned or anyone has done more with this?

On Tuesday, October 11, 2016 at 2:16:19 AM UTC-5, Lukas Zapletal wrote:

Justin Garrison píše v Pá 07. 10. 2016 v 07:14 -0700:
Is anyone running Foreman in production in a container? I'm working
on a new installation and I'd much rather get it running in a
container than on a VM.

I see some containers on Docker hub (there's a foreman nightly build
https://hub.docker.com/r/foreman/foreman/ ) but it looks mostly
abandoned because last push was a year ago.

I tried one few years ago (https://github.com/lzap/foreman-docker) just
to get familiar with Docker. When I found how it works (and its
weaknesses), I abandoned my effort. I personally don't like their idea
and the tool itself, a container should have been just a compressed
image (squashfs or tarball) from the day one. The git-like history is
absurd idea. Sorry for the out-of-topic :-)

I know someone else from the team tried some time ago as well. That
effort went little further, I assume.

--
Later,
Lukas "lzap" Zapletal

--
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.



--
Andrew Kofink
akofink@redhat.com
IRC: akofink
Software Engineer
Red Hat Satellite