Docker Community Forums

Share and learn in the Docker community.

Windows 10 with virtualbox requires to set the shell

docker

(Rsuharta) #1

Just wondering why do I need to configure the shell by running the command below everytime open a new command window ?

@FOR /f “tokens=*” %i IN (‘docker-machine env default’) DO @%i

If i do not execute the above command, I will get the following error

docker: error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/containers/create: 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.

How can i configure the shell as one-off time ?