On Wed Mar 3, 2021 at 11:10 AM -03, Eric Bower wrote:
> Confirmed it is required on linux. Would you be receptive to a patch and
> describes how to get docker to work on mac?
Yes, that would be cool! Did you need to modify the Dockerfile, or just
not doing the chown/chmod made it work on OSX?
If we could run on OSX without having to manually modify the Dockerfile,
that would be super cool.
> Also, how necessary do you see setting the user at all? I use docker
> quite a bit and haven’t really seen this paradigm much before.
On Linux, docker usually runs as root, and by default, the CMD will run
as root too, so there's a vulnerability window if we don't change the
user. You can find this being used in "production-grade" images.
Do you plan on running satellite daemon on OSX as a production
environment or just as a development/testing environment? If is the
latter, we can just keep the workaround.
--
Gustavo Heinz
On Wed Mar 3, 2021 at 9:45 AM EST, Gustavo Heinz wrote:
> Yes, that would be cool! Did you need to modify the Dockerfile, or just
> not doing the chown/chmod made it work on OSX?
That's correct, I only needed to remove the chown/chmod on osx, but I
will confirm later tonight.
> Do you plan on running satellite daemon on OSX as a production
> environment or just as a development/testing environment?
Yes I'm mainly using osx to test my server locally.
> If is the latter, we can just keep the workaround.
That sounds reasonable!
I'll send a PATCH later tonight with some documentation changes.
Thanks!