Hi All,
I created a docker:
'----------------------------
Docker for node
FROM node:8
RUN apt-get update
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common
RUN curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "ID")/gpg > /tmp/dkey; apt-key add /tmp/dkey && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/(. /etc/os-release; echo “ID") \
(lsb_release -cs)
stable”
RUN apt-get update
RUN apt-get -y install docker-ce
'-----------------------------
as you can see docker installed, but after I execute inside the docker … check procedure I’ve got the following:
'------------------------------
root@0263ebd9efcb:/# docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See ‘docker run --help’.
'------------------------------
Please help