i have a question if i can install docker inside docker. I have tried, but all i get is this error:
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.25/containers/json: open //./pipe/docker_engine: The system cannot find the file specified.
What I’m trying to do is to have this image connected to jenkins and then would jenkis restart inside images (so docker inside docker) after change in git.
Why not just use a docker client and mount the /var/run/docker.sock
This way you will use the docker daemon installed on the host.
I find that docker in docker has really strange side effects sometimes.
Have the same question, there are plenty of examples out there to do this on Linux host but how do you get this working on a Windows host with a Windows based image?
I am trying to build Docker Windows images from a dockerized Jenkins based on this image FROM openjdk:8u181-jdk-windowsservercore-1709
Well, to get Docker running inside the windowservercore container.
I can install it, but when running
# docker version
Client:
Version: 17.06.2-ee-16
API version: 1.30
Go version: go1.8.7
Git commit: 9ef4f0a
Built: Thu Jul 26 16:43:19 2018
OS/Arch: windows/amd64
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.30/version: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.