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

View this thread on steempeak.com

Viewing a response to: @dez1337/improve-your-software-development-continuous-deployment-with-docker-part-5-2-create-and-run-a-docker-image

· @gutzofter ·
Forgot to add for [windows](https://forums.docker.com/t/windows-an-error-occurred-trying-to-connect/4384/3) (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
👍  
properties (23)
post_id1,376,282
authorgutzofter
permlinkre-dez1337-improve-your-software-development-continuous-deployment-with-docker-part-5-2-create-and-run-a-docker-image-20161116t222752219z
categoryprogramming
json_metadata"{"links": ["https://forums.docker.com/t/windows-an-error-occurred-trying-to-connect/4384/3"], "tags": ["programming"]}"
created2016-11-16 22:27:57
last_update2016-11-16 22:27:57
depth1
children2
net_rshares4,399,563,159
last_payout2016-12-18 01:35:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length750
author_reputation7,624,690,546,443
root_title"Improve your Software Development – Continuous Deployment with Docker – Part 5.2: Create and run a Docker image"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@dez1337 · (edited)
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 :)
👍  
properties (23)
post_id1,378,080
authordez1337
permlinkre-gutzofter-re-dez1337-improve-your-software-development-continuous-deployment-with-docker-part-5-2-create-and-run-a-docker-image-20161117t055404398z
categoryprogramming
json_metadata"{"tags": ["programming"]}"
created2016-11-17 05:54:06
last_update2016-11-17 09:51:30
depth2
children1
net_rshares3,206,299,495
last_payout2016-12-18 01:35:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length233
author_reputation20,522,119,974,925
root_title"Improve your Software Development – Continuous Deployment with Docker – Part 5.2: Create and run a Docker image"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@gutzofter ·
Incredible post. Just spent 2 hours in discovery mode. Keep it coming
👍  
properties (23)
post_id1,378,200
authorgutzofter
permlinkre-dez1337-re-gutzofter-re-dez1337-improve-your-software-development-continuous-deployment-with-docker-part-5-2-create-and-run-a-docker-image-20161117t063009724z
categoryprogramming
json_metadata"{"tags": ["programming"]}"
created2016-11-17 06:30:09
last_update2016-11-17 06:30:09
depth3
children0
net_rshares4,399,563,159
last_payout2016-12-18 01:35:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length69
author_reputation7,624,690,546,443
root_title"Improve your Software Development – Continuous Deployment with Docker – Part 5.2: Create and run a Docker image"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)