Which user do you use to run the podman command? Confirm with whoami
Note that the sysctl net.ipv4.ip_unprivileged_port_start
can be used to allow non-root users to bind to ports <1024, this might be configured in MicroOS, I don’t know.
Comment on MicroOS: Rootless podman?
nico198x@europe.pub 4 days agoi’ve been ass-deep in doc and guides for days, mate. can you just answer the question if you know the answer?
rootless podman should not be able to bind to port 80, for example. but i CAN do this on MicroOS. which is making me think that it’s running rootful. and if that’s happening because i’m working under the sole root user in MicroOS.
Which user do you use to run the podman command? Confirm with whoami
Note that the sysctl net.ipv4.ip_unprivileged_port_start
can be used to allow non-root users to bind to ports <1024, this might be configured in MicroOS, I don’t know.
i’m definitely root, which is the sole default user on MicroOS for login, bash, etc.
it mostly strikes me as odd that MicroOS for containers would not have me setup a non-root user at install. trying to do it after install necessitates some hoop jumping to get podman to work correctly, which is making me wonder if MicroOS is really worth it at that point if it’s not ready to go after install.
If you want extra users I believe you can create them in ignition file, so that way they get created when MicroOS is deployed.
Basically anything you want as part of ‘default’ setup has to be configured via ignition file.
yeah, i did try that, but that part failed for some reason. the rest of the Ignition file was ok.
Shimitar@downonthestreet.eu 4 days ago
You can give podman rootless the power to open ports less than 1024. So no, it can still be rootless.
And yes, for being rootless you must have non root users as well…
So its probably root and not rootless
nico198x@europe.pub 4 days ago
thank you for confirming my suspicion. i know one CAN give it that power, but i understand that it’s not the default.
ultimately, this is a question first about the MicroOS setup, and second podman functionality.