Error 137 on docker build command on Win7

Executing the following command:

docker build -m 3g --memory-swap -1 -f MyDockerfile .

  • Which Official Docker Image(s) should I use for running an application with multiple dependencies?
  • react-starter-kit asnyc action variable assignment throwing error when run in Docker
  • Dynamic listening ports inside Docker container
  • Creating proper build or deployment chain with Microservices, Docker, Jenkins and GIT
  • Using Python 3 time.sleep in Raspberry Pi 3 hangs process
  • error retrieving template Job(deis-router@.service) from Registry in ec2 deis installation
  • And I’m getting this:

    Solving package specifications: .....Killed
    The command '/bin/sh -c conda update -y --all &&     conda install -y -c menpo m
    enpo &&     conda install -y -c menpo menpofit &&     conda install -y -c menpo
    menpodetect &&     conda install -y -c menpo dlib &&     conda install -y -c men
    po opencv3 &&     conda install -y joblib &&     pip install pyprind &&     pip
    install colorlog' returned a non-zero code: 137
    

    From googling, my understanding is that the OS is killing my running process here due to running out of memory. I have 8gb on my host machine, and I can see that I am not going over 4gb used. I added the memory switches above, to no discernible effect.

    Since I’m running this on Win7 and the older docker toolbox, am I being limited by Oracle’s VM VirtualBox?

  • How to open multiple terminals in docker?
  • Unable to start Docker Compose run multiple war file in single container with single mysql database
  • Mount (link) a single file from a docker container volume
  • How to efficiently get info from all Docker containers running on a server via SSH?
  • How are docker image names parsed?
  • retain the data inside database using docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.