How do I fix a docker permission denied error on Centos?

0 votes

Hi Guys,

I am getting error when running docker commands in my system. Is there any wrong in my installation process?

Thank You

Mar 23 in Docker by akhtar
• 4,500 points
68 views

1 answer to this question.

0 votes

Hi@akhtar,

This is because of docker permission for security on fresh installation. You need to create group for docker and add user in the group. On other hand, you should change socket file permission.

$ sudo chmod 666 /var/run/docker

Thank You

answered Mar 23 by MD
• 8,870 points

Related Questions In Docker

0 votes
2 answers

How do I fix the “no space left on device” error in docker?

Try cleaning up: $ docker volume rm $(docker ...READ MORE

answered Aug 14, 2019 in Docker by Sirajul
• 50,440 points
3,505 views
0 votes
1 answer
0 votes
1 answer

How do I get into a Docker container?

docker attach will let you connect to your ...READ MORE

answered Aug 10, 2018 in Docker by Kalgi
• 51,830 points
89 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 57,530 points
447 views
0 votes
1 answer

How can I connect a docker container to two docker networks that I have created?

Hi@akhtar, It's correct that the network argument of ...READ MORE

answered Mar 23 in Docker by MD
• 8,870 points
70 views
0 votes
1 answer

How can I install systemctl tool in Docker container?

Hi@akhtar, In docker container if you want to ...READ MORE

answered Feb 5 in Docker by MD
• 8,870 points
205 views