The Azure IoT Edge getting started guide currently utilizes VS Code and Docker to create modules. If you receive “docker.sock connect: permission denied” after trying to build, run the following two commands in the terminal:
-
sudo usermod -aG docker $USER -
newgrp docker
If you still have the error, restart your machine and try again.