User Tools

Site Tools


cheatsheet:docker

This is an old revision of the document!


docker command cheatsheet

allow non-root to operate docker

Per default, the docker commands can only be run by root, in order to allow another user to fully operate docker you need to make the following changes.

sudo usermod -aG docker yourusername

// to make this effective login/logout or start a new terminal session with:
su - yourusername
cheatsheet/docker.1690188814.txt.gz · Last modified: 2023/07/24 08:53 by kamaradski