DEV Community

Jaweher Ben Salah
Jaweher Ben Salah

Posted on

Answer: Docker-compose up : Error while fetching server API version: https://stackoverflow.com/a/65240108/11139658

Add your user to docker group and try again.

sudo gpasswd -a $USER docker
newgrp docker

If you still have the problem, you may try after logging out and login back, or reboot. Or simply do:

sudo su $USER

Note: this may also happens if docker is not running on…

Top comments (0)