All Products
Search
Document Center

Function Compute:Can non-root users use Docker without sudo?

Last Updated:Aug 20, 2025

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?