Jump to content
Sign in to follow this  
iamtheky

Regenerate Docker Certs, restart, reset env

Recommended Posts

iamtheky

Had issues with docker for windows while bouncing around the network.  This series of commands (as described here:  http://stackoverflow.com/questions/32047660/docker-for-windows-not-working)  seems to clear it up.

;docker reset

$dockerdir = "c:\program files\docker toolbox\"

RunWait("cmd /c docker-machine regenerate-certs -f default" , $dockerdir)

RunWait("cmd /c docker-machine restart default" , $dockerdir)

RunWait("cmd /c docker-machine env default --shell=cmd" , $dockerdir)

RunWait("cmd /c FOR /f " & '"' & "tokens=*" & '"' & " %i IN ('docker-machine env default --shell=cmd') DO %i")

RunWait('"C:\Program Files\Git\bin\bash.exe" --login -i start.sh' , $dockerdir)

 


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites
iamtheky

Just spun up Rstudio with docker, and started an rstudio pluralsight course.  Recommend everyone start playing, lots of good fun.


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×