Cannot connect to docker daemon and service docker start doesn't working in Ubuntu 22.04

Viewed 15

I want to use docker-compose command, but it doesn't work with following message.

    Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

    $ sudo service docker start
    * Starting Docker: docker

    $ sudo service docker status
    * Docker is not running

I've added user to ubuntu group and this is my environment

    $ docker-compose --version
    Docker Compose version v2.11.0
    
    $ which docker
    /usr/bin/docker
    
    $ ps -aux | grep docker
    ubuntu   17123  0.0  0.0   9072  2236 pts/3    S+   15:29   0:00 grep --color=auto docker

How can i find out why it doesn't work?

Thank you :)

0 Answers
Related