-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mention podman & rootless containers #9
Comments
Thanks for the suggestions! Will definitely look into podman and mention it if its compatible (or if making it compatible is straightforward). eznode will not work as a rootless container in its current form, it uses separate user accounts for each service as a security measure. However, s6-overlay does support running as non-root, and its possible that simply symlinking some user-related commands ( |
rootless container is not when adding the so adduser commands inside the container will work, in my experience most of the time stuff just works, I only reported 1 issue triggered by it to react-native-cli project ( The easiest way is probably install fedora coreos/desktop/server/silverblue, add new user foo, login with it, use podman to run the container and ensure everything in it is tested/works. |
Right, but in both cases you're required to make things work without I'm surprised to hear that But changing these commands into NOOPs is straightforward and should make everything work. |
using user namespaces & newuidmap/newgidmap SUID binaries, here explanations (the "How it works" section on website explain how rootless containers are working):
yes, it's works.
you mean avoid users creation inside the container, and run everything under the user supplied in I tested this quickly with commands on fedora 33 in regular user (don't exists in any group beside itself) mkdir -p ~/tmp/eznode;
podman run -it --rm --name ez -v ~/tmp/eznode:/data:Z docker.io/eznode/eznode VERBOSE=1 SPECTER=1 TOR=1 The additional and looks like it working (visiting the .onion endpoint over Tor of "Specter Desktop" & Explorer are working), still it's better to mention it after more testing (also worth to watch the logs while testing the functionality itself is working) as I just exited the container after this simple test. |
Podman is alternative to docker, it's already pre-installed in fedora & other related os, thus can you mention it as alternative (after testing it's working) aka the only dependency is either docker or podman.
also rootless containers is already fully supported in recent docker&podman, for more info:
https://rootlesscontaine.rs/
so also worth to mention if it works when running under rootless containers.
The text was updated successfully, but these errors were encountered: