Yes.

Docker runs commands with sudo. By default, you need to add sudo to your command when you run a Docker command such as the s local or s build command to debug your functions. If you do not want to use sudo, you can configure Docker to run commands without sudo. For more information, see How can I use Docker without sudo?