Issue with sudo in Docker Container Running JupyterLab: Effective UID is not 0

Hello everyone,

I’m running into an issue with a Space running the default JupyterLab sdk, and I’m hoping to get some insights or suggestions from the community.
The Setup:
I just created a new space using the default JupyterLab setup, the jupyterlab starts normally.
I believe my space is cloned from JupyterLab - a Hugging Face Space by SpacesExamples

The Problem:

When I run sudo -l in the terminal inside JupyterLab, I get the following error:

sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the ‘nosuid’ option set or an NFS file system without root privileges?

Any help or suggestions would be greatly appreciated!

Thanks in advance!

1 Like