@@ -558,7 +558,12 @@ <h1>Docker and Kubernetes for Java Developers</h1>
558558< li > < a href ="#Common_Docker_Commands "> Common Docker Commands</ a > </ li >
559559< li > < a href ="#_troubleshooting "> Troubleshooting</ a >
560560< ul class ="sectlevel2 ">
561+ < li > < a href ="#_network_timed_out "> Network Timed Out</ a >
562+ < ul class ="sectlevel3 ">
563+ < li > < a href ="#_restart_docker_machine "> Restart Docker Machine</ a > </ li >
561564< li > < a href ="#_loading_images_offline "> Loading Images Offline</ a > </ li >
565+ </ ul >
566+ </ li >
562567< li > < a href ="#_cannot_create_docker_machine_on_windows "> Cannot create Docker Machine on Windows</ a > </ li >
563568</ ul >
564569</ li >
@@ -876,8 +881,7 @@ <h3 id="_pull_docker_images">Pull Docker images</h3>
876881docker pull arungupta/javaee7-hol
877882docker pull mysql
878883docker pull swarm
879- docker pull arungupta/wildfly-mysql-javaee7
880- arungupta/javaee7-docker-maven</ code > </ pre >
884+ docker pull arungupta/wildfly-mysql-javaee7</ code > </ pre >
881885</ div >
882886</ div >
883887< div class ="sect3 ">
@@ -4617,7 +4621,7 @@ <h2 id="Common_Docker_Commands">Common Docker Commands</h2>
46174621< h2 id ="_troubleshooting "> Troubleshooting</ h2 >
46184622< div class ="sectionbody ">
46194623< div class ="sect2 ">
4620- < h3 id ="_loading_images_offline " > Loading Images Offline </ h3 >
4624+ < h3 id ="_network_timed_out " > Network Timed Out </ h3 >
46214625< div class ="paragraph ">
46224626< p > Depending upon the network speed and restrictions, you may not be able to download Docker images from Docker Hub. The error message may look like:</ p >
46234627</ div >
@@ -4630,26 +4634,24 @@ <h3 id="_loading_images_offline">Loading Images Offline</h3>
46304634</ div >
46314635</ div >
46324636< div class ="paragraph ">
4633- < p > If you are not able to download images from Docker Hub, then they can uploaded from a previously saved < code > .tar </ code > file .</ p >
4637+ < p > This section provide a couple of alternatives to solve this .</ p >
46344638</ div >
4639+ < div class ="sect3 ">
4640+ < h4 id ="_restart_docker_machine "> Restart Docker Machine</ h4 >
46354641< div class ="paragraph ">
4636- < p > Save the tar file: </ p >
4642+ < p > It seems like Docker Machine gets into a strange state and restarting it fixes that. </ p >
46374643</ div >
46384644< div class ="listingblock ">
46394645< div class ="content ">
4640- < pre class ="highlight "> < code class ="language-text " data-lang ="text "> docker save -o <save image to path> <image name></ code > </ pre >
4641- </ div >
4642- </ div >
4643- < div class ="paragraph ">
4644- < p > For example:</ p >
4646+ < pre class ="highlight "> < code class ="language-text " data-lang ="text "> docker-machine restart <MACHINE_NAME>
4647+ eval $(docker-machine env <MACHINE_NAME>)</ code > </ pre >
46454648</ div >
4646- < div class ="listingblock ">
4647- < div class ="content ">
4648- < pre class ="highlight "> < code class ="language-text " data-lang ="text "> docker save -o arungupta-javaee7-hol.tar arungupta/javaee7-hol</ code > </ pre >
46494649</ div >
46504650</ div >
4651+ < div class ="sect3 ">
4652+ < h4 id ="_loading_images_offline "> Loading Images Offline</ h4 >
46514653< div class ="paragraph ">
4652- < p > All images required for this workshop can be downloaded from:</ p >
4654+ < p > Images can be downloaded from a previously saved < code > .tar </ code > file. All images required for this workshop can be downloaded from:</ p >
46534655</ div >
46544656< div class ="paragraph ">
46554657< p > < a href ="https://drive.google.com/folderview?id=0B8g4lYJ4uB37RkdqbFpPZU5ZS2s&usp=sharing " class ="bare "> https://drive.google.com/folderview?id=0B8g4lYJ4uB37RkdqbFpPZU5ZS2s&usp=sharing</ a > </ p >
@@ -4674,6 +4676,7 @@ <h3 id="_loading_images_offline">Loading Images Offline</h3>
46744676< p > Now < code > docker images</ code > should show the image.</ p >
46754677</ div >
46764678</ div >
4679+ </ div >
46774680< div class ="sect2 ">
46784681< h3 id ="_cannot_create_docker_machine_on_windows "> Cannot create Docker Machine on Windows</ h3 >
46794682< div class ="paragraph ">
@@ -4709,7 +4712,7 @@ <h2 id="_references">References</h2>
47094712</ div >
47104713< div id ="footer ">
47114714< div id ="footer-text ">
4712- Last updated 2015-09-08 10 :24:58 CEST
4715+ Last updated 2015-09-08 09 :24:58 BST
47134716</ div >
47144717</ div >
47154718</ body >
0 commit comments