Replies: 3 comments
-
Hi @trjate , Bottlerocket uses containerd as its container runtime and we currently don’t provide an option to run the containerd daemon in rootless-mode. To run containers directly on Bottlerocket, you can try running custome host-containers. |
Beta Was this translation helpful? Give feedback.
-
Thanks @etungsten! I guess my point in asking is to try to better understand the implications of running a Docker container as |
Beta Was this translation helpful? Give feedback.
-
You're right that although running container processes as root is more secure on Bottlerocket than it is on a traditional distro (here are some Bottlerocket security features that help with this, i.e. no shell, SElinux enforced), it is still recommended to not run your containers with UID 0 (root). For reasons why, please read our security guidance here: https://github.com/bottlerocket-os/bottlerocket/blob/develop/SECURITY_GUIDANCE.md#do-not-run-containers-as-uid-0. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Per https://docs.docker.com/engine/security/rootless/, is it possible to run the docker daemon and containers on a bottlerocket host as a non-root user?
Beta Was this translation helpful? Give feedback.
All reactions