How-to's How to run Docker commands without sudo
1. Create a new group named docker
  1. sudo groupadd docker
2. Verify if the docker group exists
  1. getent group docker
docker:x:999:
3. Add the current user to the docker group
  1. sudo gpasswd -a $USER docker
Adding user development to group docker
4. Shutdown the WSL (Windows Subsystem for Linux)
  1. wsl --shutdown
5. Open the WSL and start the Docker daemon (service)
  1. sudo service docker start
 * Starting Docker: docker                                                      [ OK ]
6. List all runing Docker containers
  1. docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES