I’m running jupyterlab on a Zero to JupyterHub installation. In the jupyterlab terminal, I’m trying to use
sudo
, but when I do, I get the following output:
(base) jovyan@jupyter:~$ sudo whoami
sudo: The "no new privileges" flag is set, which prevents sudo from running as root.
sudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.
I’ve tried the following configuration, which I think is redundant, but it doesn’t make any difference:
hub:
containerSecurityContext:
allowPrivilegeEscalation: yes
privileged: true
Does anyone know how I could fix/debug this?
Other information: I’m basing my lab image on jupyter/minimal-notebook
.