Docker: unable to prepare context: unable to evaluate symlinks in Dockerfile path: GetFileAttributesEx

I just downloaded Docker Toolbox for Windows 10 64bit today. I’m going through the tutorial. I’m receving the following error when trying to build an image using a Dockerfile. Steps: Launched Docker Quickstart terminal. testdocker after creating it. Prepare Dockerfile as documented in “Build your own image” web link ran below command docker build -t … Read more

“docker build” requires exactly 1 argument(s)

Parameter -f changes the name of the Dockerfile (when it’s different than regular Dockerfile). It is not for passing the full path to docker build. The path goes as the first argument. Syntax is: docker build [PARAMS] PATH So in your case, this should work: docker build -f MyDockerfile -t proj:myapp /full/path/to/ or in case you are in the … Read more

Docker for Windows error: “Hardware assisted virtualization and data execution protection must be enabled in the BIOS”

If the features described are enabled, the problem is with Hyper-V that is disabled or Hypervisor agent not running. SOLUTION A (If Hyper-V is totally disabled or not installed) Open PowerShell as administrator and Enable Hyper-V withdism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All SOLUTION B (If Hyper-V feature is already enabled but doesn’t work) Enable Hypervisor with Now restart the … Read more

installing cPickle with python 3.5

cPickle comes with the standard library… in python 2.x. You are on python 3.x, so if you want cPickle, you can do this: However, in 3.x, it’s easier just to use pickle. No need to install anything. If something requires cPickle in python 3.x, then that’s probably a bug.

Can’t connect to docker from docker-compose

The Docker machine is running. But you need to export some environment to connect to the Docker machine. By default, the docker CLI client is trying to communicate to the daemon using http+unix://var/run/docker.sock (as shown in the error message). Export the correct environment variables using eval $(docker-machine env dev) and then try again. You can also just run docker-machine env dev to see … Read more