What Should I Know Before Switching to Docker Rootless?
Asked by
well-marked-trail
Hey everyone! I've got quite a few Docker containers running and I'm thinking about making the switch to Docker rootless. Is there anything specific I should be concerned about, like performance issues or other challenges?
Answers
One major thing to keep in mind with rootless containers is file permissions, especially for bind mounts. If you don't need to access something from the host, it's better to avoid bind mounts altogether. They can be a real headache in rootless mode.
Reply to this answer
Performance-wise, you shouldn't see any significant difference between running rootless and rootfull Docker. Just make sure to follow the setup documentation to get everything configured properly.
Reply to this answer
When using rootless mode, be aware that some advanced networking features might be limited or need extra configuration. It's a good idea to check out official documentation for tips on optimizing your setup while managing these limitations.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions