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

前端 未结 6 553
渐次进展
渐次进展 2021-01-14 15:10

I have the following Dockerfile:

FROM ubuntu

ENV NPM_CONFIG_LOGLEVEL warn
ENV admin_user=\"PeerAdmin\" network_name=$1 version=$2 hversion=hlfv1     fabrik_         


        
6条回答
  •  生来不讨喜
    2021-01-14 15:28

    I had this same issue, run this command in your terminal. This fixed the problem.

     sudo apt-get install docker-ce docker-ce-cli containerd.io
    

提交回复
热议问题