Score:1

how to get permission

hk flag

docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.

EODCraft Staff avatar
cn flag
if your trying to connect VIA Exec Console, replace Admin with Root, then you can connect.
Score:3
zw flag

You have to add your user to the docker group by

sudo usermod -a -G docker $USER

then reboot and retry running Docker-related command.

Score:0
ve flag

If you do not need to do anything more and in your environment has lots of users, just do the following and you would ready to use for all users,

[admin@localhost]$ systemctl enable --now docker
[admin@localhost]$ systemctl start docker
[admin@localhost]$ sudo chmod 777 /var/run/docker.sock

By using the above you can use the "docker" command for every user.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.