Closed FNakano closed 1 year ago
To run docker-compose up --build on Ubuntu 22.04LTS without sudo, the user should be in docker group. This is done by sudo usermod -aG docker $USER and rebooting the computer (Reference: https://linuxhandbook.com/docker-permission-denied/).
docker-compose up --build
sudo
docker
sudo usermod -aG docker $USER
To run
docker-compose up --build
on Ubuntu 22.04LTS withoutsudo
, the user should be indocker
group. This is done bysudo usermod -aG docker $USER
and rebooting the computer (Reference: https://linuxhandbook.com/docker-permission-denied/).