Update 'DockerHelp.md'

This commit is contained in:
Spencer Killen 2023-03-21 11:43:19 -06:00
parent f4641f9158
commit 31fb14491a
1 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@ If you get permission errors when running `docker version`, follow these instruc
Access: (0660/srw-rw----) Uid: ( 0/ root) Gid: ( 1003/ root)
```
The above tells you that the docker socket belongs to the group with GID 1003 (root) and that the group has neither read nor write permissions.
2. Change the socket's group to be yours with `sudo chgrp "$USER" /var/run/docker.sock`. Confirm this change by running `stat` again.
3. Give the group read and write privileges with `sudo chmod g+rw /var/run/docker.sock`
4. Confirm that you can run `docker version` without permission errors.
1. Change the socket's group to be yours with `sudo chgrp "$USER" /var/run/docker.sock`. Confirm this change by running `stat` again.
1. Give the group read and write privileges with `sudo chmod g+rw /var/run/docker.sock`
1. Confirm that you can run `docker version` without permission errors.