Skip to content

Commit 3cd71dc

Browse files
committed
1 parent 0fa74e7 commit 3cd71dc

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

chapters/docker-troubleshooting.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
=== Loading Images Offline
44

5+
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:
6+
7+
[source, text]
8+
----
9+
$ docker pull arungupta/wildfly-mysql-javaee7
10+
Using default tag: latest
11+
Pulling repository docker.io/arungupta/wildfly-mysql-javaee7
12+
Network timed out while trying to connect to https://index.docker.io/v1/repositories/arungupta/wildfly-mysql-javaee7/images. You may want to check your internet connection or if you are behind a proxy.
13+
----
14+
515
If you are not able to download images from Docker Hub, then they can uploaded from a previously saved `.tar` file.
616

717
Save the tar file:
@@ -18,6 +28,8 @@ For example:
1828
docker save -o arungupta-javaee7-hol.tar arungupta/javaee7-hol
1929
----
2030

31+
Ask instructor for the `.tar` files of images.
32+
2133
Load the tar file:
2234

2335
[source, text]

readme.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4591,6 +4591,17 @@ <h2 id="_troubleshooting">Troubleshooting</h2>
45914591
<div class="sect2">
45924592
<h3 id="_loading_images_offline">Loading Images Offline</h3>
45934593
<div class="paragraph">
4594+
<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>
4595+
</div>
4596+
<div class="listingblock">
4597+
<div class="content">
4598+
<pre class="highlight"><code class="language-text" data-lang="text">$ docker pull arungupta/wildfly-mysql-javaee7
4599+
Using default tag: latest
4600+
Pulling repository docker.io/arungupta/wildfly-mysql-javaee7
4601+
Network timed out while trying to connect to https://index.docker.io/v1/repositories/arungupta/wildfly-mysql-javaee7/images. You may want to check your internet connection or if you are behind a proxy.</code></pre>
4602+
</div>
4603+
</div>
4604+
<div class="paragraph">
45944605
<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>
45954606
</div>
45964607
<div class="paragraph">
@@ -4610,6 +4621,9 @@ <h3 id="_loading_images_offline">Loading Images Offline</h3>
46104621
</div>
46114622
</div>
46124623
<div class="paragraph">
4624+
<p>Ask instructor for the <code>.tar</code> files of images.</p>
4625+
</div>
4626+
<div class="paragraph">
46134627
<p>Load the tar file:</p>
46144628
</div>
46154629
<div class="listingblock">

0 commit comments

Comments
 (0)