BMW-InnovationLab / BMW-YOLOv4-Training-Automation

This repository allows you to get started with training a state-of-the-art Deep Learning model with little to no configuration needed! You provide your labeled dataset or label your dataset using our BMW-LabelTool-Lite and you can start the training right away and monitor it in many different ways like TensorBoard or a custom REST API and GUI. NoCode training with YOLOv4 and YOLOV3 has never been so easy.
BSD 3-Clause "New" or "Revised" License
642 stars 128 forks source link

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

Closed farazBhatti closed 4 years ago

farazBhatti commented 4 years ago

getting above mentioned error after executing this line sudo docker build -f docker/Dockerfile -t darknet_yolo_gpu:1 --build-arg GPU=1 --build-arg CUDNN=1 --build-arg CUDNN_HALF=0 --build-arg OPENCV=1 --build-arg DOWNLOAD_ALL=1 . Any ideas? Ive gone through few solutions given online but no result

nok commented 4 years ago

Did you try to restart the Docker daemon with sudo service docker restart? And which operating system are you using and how did you install Docker on the host machine?

manishalankala commented 4 years ago

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

it didnot work

roy6324 commented 4 years ago

Hello @farazBhatti ,

Please run " systemctl status docker " and check if docker is running. If it's not active, then try running " systemctl start docker" to see if it works. If it's active, use " systemctl stop docker " and then " sudo dockerd " to start the daemon manually.

If the issue remains, please provide the output of " docker info ".

nourazzii commented 4 years ago

Hello @farazBhatti Please follow the instructions in https://docs.docker.com/get-started/ for a clean docker installation. We will close this issue as it is not related to our project.