How to manage Docker as a non-root user

subject: Docker · date: 2017-12-07

  1. Create the docker group:

    $ sudo groupadd docker
    
  2. Add your user (e.g. koans) to the docker group:

    $ sudo usermod -aG docker koans
    
  3. Log out and log back in.

share this article