71461/su-cd-root-permission-denied
Hi Guys,
I have launched one Ubuntu container in my Docker Engine. I tried to run cd command. But it is showing the below error.
jenkins@9cb85416d91f:~$ cd /root/ -su: cd: /root/: Permission denied
How can I solve this error?
Hi@akhtar,
You are trying to run your command using jenkins user. But your jenkins user does not have power to run command. So give sudo power to your jenkins user.
$ vim /etc/sudoers jenkins ALL:(ALL) NOPASSWD: ALL
Hi@akhtar, To install any software using non root ...READ MORE
Hi@akhtar, I think there is a problem with ...READ MORE
Hi@akhtar, You are getting this error because Grafana ...READ MORE
You need to tag your image before ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
It can work if you try to put ...READ MORE
To solve this problem, I followed advice ...READ MORE
Hi@akhtar, You may get this error, if you didn't ...READ MORE
Hi@akhtar, This is because of docker permission for ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.