Our plan today
- Why deploy Azure Blueprints from CI/CD?
- Introduction to the github repo
1. Why deploy Azure Blueprints from CI/CD?
Am getting the following error when trying to run docker in WSL2:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json: dial unix /var/run/docker.sock: connect: permission denied
To fix the above
Add the docker group
sudo groupadd docker
Add your user to the docker group
sudo usermod -aG docker ${USER}
Now either close wsl or run the following:
su -s ${USER}
You should now be able to run:
docker run hello-world