add user to unix group docker code example Example: add user to docker group sudo usermod -aG docker $USER #$USER is your username