Last active
March 22, 2024 16:41
-
-
Save zahash/b107fe7e8f8b04bda3892a5d642c1458 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install docker.io | |
# add user to docker group for non-sudo access | |
sudo groupadd docker # add docker group | |
sudo usermod -aG docker $USER # add your user to the docker group. | |
newgrp docker # activate the changes to groups. Run this command on each new terminal session | |
docker ps # verify that user can run Docker without sudo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment