/
Using docker from windows shell or powershell
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
, multiple selections available,
Related content
Installing Docker
Installing Docker
More like this
Running the glassfish image
Running the glassfish image
More like this
Docker stuff
Docker stuff
More like this
Working with Jenkins
Working with Jenkins
More like this
ENTRYPOINT vs. CMD
ENTRYPOINT vs. CMD
More like this
Snapshot of docker container
Snapshot of docker container
More like this