Using docker from windows shell or powershell
IMPORTANT
STRONGLY RECOMMEND YOU WORK WITH WINDOWS POWERSHELL, ALL DOCKER COMMANDS WORK PROPERLY. WHEN USING DOS COMMAND WINDOW COMMANDS SUCH AS - docker <command> $(docker <sub command>) give an error.
Before you can the docker command make sure the following environment variables are set (run docker-machine env to get an up to date set of values for these variables)
windows environment variables
SET DOCKER_TLS_VERIFY=1 SET DOCKER_HOST=tcp://192.168.99.100:2376 SET DOCKER_CERT_PATH=C:\Users\Selvyn\.docker\machine\machines\default SET DOCKER_MACHINE_NAME=default REM Run this command to configure your shell: REM @FOR /f "tokens=*" %i IN ('docker-machine env default') DO @%i