4 ms·
Does this require your Python app to run on a user in the docker group, thus giving your app Sudo privilege?
by wdawson4 11y ago
Does this require your Python app to run on a user in the docker group, thus giving your app Sudo privilege?
- noajshu 11y agoYour Python app doesn't have to run in a container at all. If you chose to run it in a container, and you wanted to use sidomo, you would have two options: 1 The container would need to be privileged so that it could run a docker daemon and containers (sidomo processes) within itself. 2 (the "right" way) Use the host's docker daemon from within the first container by binding the docker.sock to the child container. The first container can start and stop others that run next to it, instead of inside it. This way there's no recursion, and no containers need root privileges.