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

前端 未结 6 495
渐次进展
渐次进展 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

    The error may come from "service docker start". If you want to follow the installation instructions from the upstream vendor for a docker container then you need to prepare the environment for that. I can run these commands easily by using the dockers-systemctl-replacement script.

提交回复
热议问题