After installing docker using the formula on Ubuntu 20.04 I cannot run non-root tools such as minikube because of authorization issue.
- docker: Not healthy: "docker version --format {{.Server.Os}}-{{.Server.Version}}" exit status 1: Got permission de
nied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdoc
ker.sock/v1.40/version: dial unix /var/run/docker.sock: connect: permission denied
- docker: Suggestion: Add your user to the 'docker' group: 'sudo usermod -aG docker $USER && newgrp docker' <https:/
/docs.docker.com/engine/install/linux-postinstall/>
Is your feature request related to a problem?
Describe the solution you'd like
After installing docker using the formula on Ubuntu 20.04 I cannot run non-root tools such as
minikube
because of authorization issue.This is a classic post-installation error so I was surprised that even
docker
group does not exist. https://www.digitalocean.com/community/questions/how-to-fix-docker-got-permission-denied-while-trying-to-connect-to-the-docker-daemon-socketThe wanted feature is:
docker
group is created${USER}
is added to that group (optionally).Describe alternatives you've considered
Additional context