Ask Your Question

Is there any downsides to running ros as root in Docker?

asked 2020-02-14 18:48:01 -0600

mugetsu gravatar image

Normally outside of docker we are running a non-root machine and just sudo everything. Docker is doing every thing in root, does that cause any issues?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-16 14:02:21 -0600

viktor.holova gravatar image

As far as ROS functionality itself I have never experienced any issues running inside of Docker as a root user since I started using Docker with ROS four years ago.

In order to access devices, network and other resources on the host machine you need to understand how Docker does it in general and you will be fine

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-02-14 18:48:01 -0600

Seen: 15 times

Last updated: 17 hours ago