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

Extend Docker install docs for Linux non-root users #149

Open
justb4 opened this issue Jun 27, 2023 · 0 comments
Open

Extend Docker install docs for Linux non-root users #149

justb4 opened this issue Jun 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@justb4
Copy link
Member

justb4 commented Jun 27, 2023

Docker post-install steps in case of permission problems, even when using sudo.

See https://docs.docker.com/engine/install/linux-postinstall/ :

    If you don’t want to preface the docker command with sudo, create a Unix group called docker and add users to it. When the Docker daemon starts, it creates a Unix socket accessible by members of the docker group. On some Linux distributions, the system automatically creates this group when installing Docker Engine using a package manager. In that case, there is no need for you to manually create the group.
    
    To run Docker without root privileges, see [Run the Docker daemon as a non-root user (Rootless mode)](https://docs.docker.com/engine/security/rootless/).
    
    To create the docker group and add your user:
    
    Create the docker group.
    
    
     sudo groupadd docker

    Add your user to the docker group.
          
     sudo usermod -aG docker $USER
@justb4 justb4 added the enhancement New feature or request label Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant