Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
docker-compose up -d 安装docker环境,提示一下错误:docker-compose 命令没发现。
docker compse up -d 报错:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
使用一下命令解决:
systemctl daemon-reload
sudo service docker restart
sudo service docker status
重新执行命令解决问题:docker compse up -d