You are viewing a single comment's thread from:

RE: Improve your Software Development – Continuous Deployment with Docker – Part 5.2: Create and run a Docker image

in #programming9 years ago

Forgot to add for windows (using powershell).

If you open a new shell, you have to tell your docker client how to connect to the docker daemon that is running in the virtualbox VM.

If you open the quickstart terminal, it runs a command that sets the shell environment up so that the docker client knows how to connect.

If you open a new shell, you have to do that step on your own. For windows, you have to specify your shell type. For cmd, run the following and then paste the output back into your cmd shell:

docker-machine env --shell cmd default

or for powershell, just run the following:

docker-machine env --shell powershell default | Invoke-Expression

Sort:  

Thank you for pointing that out :) But I guess this was only needed if the the Docker toolbox has been used. If you use Docker for Windows (Available for Windows 10) you can start straight on the console without configuring things :)

Incredible post. Just spent 2 hours in discovery mode. Keep it coming

Coin Marketplace

STEEM 0.09
TRX 0.30
JST 0.034
BTC 111726.88
ETH 3952.12
USDT 1.00
SBD 0.63