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?
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
To install any software using non root ...READ MORE
I think there is a problem with ...READ MORE
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
You may get this error, if you didn't ...READ MORE
This is because of docker permission for ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.