Skip to content

Commit bc5677b

Browse files
committed
adding insecure registry using host name as well
1 parent 6eff1ec commit bc5677b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

chapters/docker-setup.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ Here are the requirements for attendees to complete this lab:
2323
.. Linux / Windows: x64 (i5 and comparable)
2424

2525
. Memory
26-
.. At least 4 to 8 GB
26+
.. At least 4GB, preferred 8 GB
2727

2828
#### Software
2929

3030
. Operating System
3131
.. Mac OS X (10.8 or later), Windows 7 (SP1), Fedora (21 or later)
32-
. Java
33-
.. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html[Oracle JDK 8u45]
32+
. Java: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html[Oracle JDK 8u45]
3433
. Webbrowser
3534
.. https://www.google.com/chrome/browser/desktop/[Chrome]
3635
.. link:http://www.getfirefox.com[Firefox]
@@ -151,12 +150,13 @@ docker-machine create --driver virtualbox --virtualbox-boot2docker-url http://do
151150
[source, text]
152151
----
153152
docker-machine ssh lab "echo $'EXTRA_ARGS=\"\$EXTRA_ARGS --insecure-registry <INSTRUCTOR_IP>:5000\"' | sudo tee -a /var/lib/boot2docker/profile && sudo /etc/init.d/docker restart"
153+
docker-machine ssh lab "echo $'EXTRA_ARGS=\"\$EXTRA_ARGS --insecure-registry dockerlab:5000\"' | sudo tee -a /var/lib/boot2docker/profile && sudo /etc/init.d/docker restart"
154154
eval "$(docker-machine env lab)"
155155
----
156156
+
157157
Substitute `<INSTRUCTOR_IP>` with the IP address of the instructor's machine.
158158
+
159-
This will allow to download all Docker images from instructor's machine.
159+
This will allow to download all Docker images from instructor's machine, using both IP address and hostname.
160160
+
161161
. Add a host entry for this Docker Host running on your machine. To make it easier to access the containers, we add an entry into the host mapping table of your operating system. Find out the IP address of your machine:
162162
+

0 commit comments

Comments
 (0)