Adding Useradd To Group For Docker Code Example


Example 1: add user to docker group

sudo usermod -aG docker $USER   #$USER is your username

Example 2: add user to docker group

sudo gpasswd -a $USER docker

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable