Created
April 8, 2025 02:43
-
-
Save muhammad-asn/fc6d12251bbb2cfaba3666d550c35e61 to your computer and use it in GitHub Desktop.
WSL /var/run/docker.sock permissions fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Context: https://github.com/rancher-sandbox/rancher-desktop/issues/1156 | |
sudo addgroup --system docker | |
sudo adduser $USER docker | |
newgrp docker | |
# And something needs to be done so $USER always runs in group `docker` on the `Ubuntu` WSL | |
sudo chown root:docker /var/run/docker.sock | |
sudo chmod g+w /var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment