Sudo in codeready workspaces containers

Latest response

Hello,
I need sudo access in developer container, in codeready workspaces. Whenever I try to run a command with sudo, I always get the following:

sudo: PERM_SUDOERS: setresuid(-1, 1, -1): Operation not permitted
sudo: no valid sudoers sources found, quitting
sudo: setresuid() [0, 0, 0] -> [1000860000, -1, -1]: Operation not permitted
sudo: error initializing audit plugin sudoers_audit

So, what can I do in order to be able to run scripts with sudo, in the dev container?

Responses