Skip to content

Commit 65abf76

Browse files
committed
toc and polishing
1 parent eb83c22 commit 65abf76

3 files changed

Lines changed: 23 additions & 6 deletions

File tree

attendees/readme.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:toc-placement!:
44

55
This folder contains instructions to setup an attendee environment. Please note, that it is only intended to setup the environment for this lab. The lab itself is in the link:https://github.com/arun-gupta/docker-java/blob/master/readme.adoc[main readme]. Continue with it after you finished this setup.
6-
You'll learn about all the software you installed here during the lab. For now just go through this document and let#s get ready as fast as possible for the lab.
6+
You'll learn about all the software you installed here during the lab. For now just go through this document and let'#'s get ready as fast as possible for the lab.
77
88
Your instructor will have a a machine setup with all the relevant downloads and needed infrastructures. The IP will change depending on the network used. In this guide, it's refered to as <INSTRUCTOR_IP> make sure to replace this with the actuall IP address you get from your instructor.
99

instructor/readme.adoc

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
# Docker for Java Developers
1+
= Docker for Java Developers - Instructor Setup
2+
:toc:
3+
:toc-placement!:
24

35
This folder contains instructions to setup an Instructor environment.
46

7+
toc::[]
8+
59
IMPORTANT: Make sure to run these instructions prior to the lab already. Executing them might take up to 30 minutes.
610

711
Instructor needs:
@@ -23,8 +27,8 @@ Instructor needs:
2327
# Linux / MacOS
2428
curl -L https://get.docker.com/builds/Darwin/x86_64/docker-latest > /usr/local/bin/docker
2529
26-
#Windows
27-
Download:
30+
#Windows
31+
Download:
2832
https://get.docker.com/builds/Windows/x86_64/docker-latest.exe
2933
https://get.docker.com/builds/Windows/i386/docker-latest.exe
3034
And save to c:\Users\<username>\docker\docker.exe
@@ -96,7 +100,7 @@ You can either insert your <HOST_IP> or the complete subnet e.g. 192.168.99.100
96100
----
97101
docker-machine ssh
98102
99-
$ # add EXTRA_ARGS="--insecure-registry <YOUR INSECURE HOST>"
103+
$ # add EXTRA_ARGS="--insecure-registry <YOUR INSECURE HOST>"
100104
$ # to /var/lib/boot2docker/profile
101105
$ sudo /etc/init.d/docker restart
102106
----
@@ -179,4 +183,4 @@ If you need some extra information like:
179183
- Uptating the attendees instructions served by the instructor httpd server
180184
- Backing up Nexus data container to a file
181185
182-
Please, check the link:extra.adoc[extra instructions].
186+
Please, check the link:extra.adoc[extra instructions].

readme.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,19 @@ These instructions are stored in a file called a Dockerfile. Docker reads this D
128128

129129
A container consists of an operating system, user-added files, and meta-data. As we've seen, each container is built from an image. That image tells Docker what the container holds, what process to run when the container is launched, and a variety of other configuration data. The Docker image is read-only. When Docker runs a container from an image, it adds a read-write layer on top of the image (using a union file system as we saw earlier) in which your application can then run.
130130

131+
### Docker Machine
132+
133+
Machine makes it really easy to create Docker hosts on your computer, on cloud providers and inside your own data center. It creates servers, installs Docker on them, then configures the Docker client to talk to them.
134+
135+
Once your Docker host has been created, it then has a number of commands for managing them:
136+
137+
. Starting, stopping, restarting
138+
. Upgrading Docker
139+
. Configuring the Docker client to talk to your host
140+
141+
You used Docker Machine already during the attendee setup. We won't need it too much further on. But if you need to create hosts, it's a very handy tool to know about.
142+
Find out more about the details at the link:https://docs.docker.com/machine/[Official Docker Machine Website]
143+
131144
### Ticket Monster
132145

133146
### Deploy Ticket Monster

0 commit comments

Comments
 (0)