Run Docker Without Sudo

1. Create docker group

sudo groupadd docker

2. Add user to docker group

sudo usermod -aG docker $USER

3. Log out and log back (IMPORTANT)

https://docs.docker.com/engine/install/linux-postinstall/

shellj

编程,摄影

后一页 前一页