Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] docker group created (mininium) & user added (optional) #304

Open
noelmcloughlin opened this issue Sep 9, 2021 · 1 comment
Open

Comments

@noelmcloughlin
Copy link
Member

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.

- 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/>

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-socket

The wanted feature is:

  • Ensure docker group is created
  • Ensure ${USER} is added to that group (optionally).
  • Ensure docker service watches and restarts after above steps.

Describe alternatives you've considered

Additional context

@noelmcloughlin noelmcloughlin changed the title [FEATURE] [FEATURE] Ensure docker group is created (mininium) and user added (optional) Sep 9, 2021
@noelmcloughlin noelmcloughlin changed the title [FEATURE] Ensure docker group is created (mininium) and user added (optional) [FEATURE] Ensure docker group is created (mininium) & user added (optional) Sep 9, 2021
@noelmcloughlin noelmcloughlin changed the title [FEATURE] Ensure docker group is created (mininium) & user added (optional) [FEATURE] docker group created (mininium) & user added (optional) Sep 9, 2021
@tyhunt99
Copy link
Contributor

+1 This would be super useful and is something I recall being supported in the past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants