Skip to content

Commit a1c38cc

Browse files
committed
JDBS Install
1 parent 93d5006 commit a1c38cc

2 files changed

Lines changed: 40 additions & 13 deletions

File tree

attendees/readme.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,15 @@ eval "$(docker-machine env lab)"
7171

7272

7373
## Setup JBoss Developer Studio
74-
Download your platform binary from http://<INSTRUCTOR_IP:8082>/downloads/
74+
75+
To install JBoss Developer Studio stand-alone, complete the following steps:
76+
. Download http://<INSTRUCTOR_IP:8082>/downloads/jboss-devstudio-8.1.0.GA-jar_universal.jar
77+
. Start the installer (see below)
78+
. Follow the on-screen instructions to complete the installation process.
7579

7680
[source, text]
7781
----
78-
# Linux / MacOS
79-
80-
http://www.jboss.org/download-manager/file/jboss-devstudio-8.1.0.GA-jar_universal.jar[JBoss Developer Studio]
82+
# Linux / MacOS / windows
83+
cd /download/path/
84+
java -jar jboss-devstudio-8.1.0.GA-jar_universal.jar
8185
----

readme.adoc

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This lab offers developers an intro-level, hands-on session with Docker, from in
1111

1212
toc::[]
1313

14-
## Requirements
14+
## Prerequisites
1515
This lab can be executed on a netbook with x86 architecture. For it to
1616
be fun, you should have a decent hardware available. Beside the operating system of choice, there's only one other thing you should have installed already: A JDK.
1717

@@ -24,7 +24,7 @@ be fun, you should have a decent hardware available. Beside the operating system
2424
.. 4 to 8 GB for attendees
2525
.. 8 to 16 GB for instructors
2626

27-
#### Software
27+
### Software
2828

2929
. Operating System
3030
.. Windows 7 (SP1)
@@ -37,18 +37,18 @@ be fun, you should have a decent hardware available. Beside the operating system
3737

3838
This section describes the relevant steps for both attendees and instructors to setup the environments. Please follow the parts, that are appropriate for you.
3939

40-
### Attendees
40+
### Instructor
4141

42-
This lab is designed for a BYOL (Brying Your Own Laptop) style hands-on-lab. We did our best to support a wide range of client configurations but only did test on machines as stated in the hardware section. Please make sure to double check your configuration.
42+
The instructor setup is designed to make the lab most reliable even with bad internet connections. Most if not all of the software can be directly downloaded from the instructor machine. The machine is setup as docker host and also runs a docker registry. Please make sure to execute these instructions way prior to the lab to provide a good experience to the attendees.
4343

44-
link:https://github.com/arun-gupta/docker-java/tree/master/attendees[Go directly to the attendee Setup]
44+
link:https://github.com/arun-gupta/docker-java/tree/master/instructor[Go directly to the Instructor Setup]
4545

4646

47-
### Instructor
47+
### Attendees
4848

49-
The instructor setup is designed to make the lab most reliable even with bad internet connections. Most if not all of the software can be directly downloaded from the instructor machine. The machine is setup as docker host and also runs a docker registry. Please make sure to execute these instructions way prior to the lab to provide a good experience to the attendees.
49+
This lab is designed for a BYOL (Brying Your Own Laptop) style hands-on-lab. We did our best to support a wide range of client configurations but only did test on machines as stated in the hardware section. Please make sure to double check your configuration.
5050

51-
link:https://github.com/arun-gupta/docker-java/tree/master/instructor[Go directly to the Instructor Setup]
51+
link:https://github.com/arun-gupta/docker-java/tree/master/attendees[Go directly to the attendee Setup]
5252

5353
## The Lab
5454

@@ -105,9 +105,32 @@ image::images/docker-architecture.png[]
105105

106106
Client communicates with Daemon, either co-located on the same host, or on a different host. It requests the Daemon to pull an image from the repository using `pull` command. The Daemon then downloads the image from Docker Hub, or whatever registry is configured. Multiple images can be downloaded from the registry and installed on Daemon host. Images are run using `run` command to create containers on demand.
107107

108+
**How does a Docker Image work?**
109+
110+
We've already seen that Docker images are read-only templates from which Docker containers are launched. Each image consists of a series of layers. Docker makes use of union file systems to combine these layers into a single image. Union file systems allow files and directories of separate file systems, known as branches, to be transparently overlaid, forming a single coherent file system.
111+
112+
One of the reasons Docker is so lightweight is because of these layers. When you change a Docker image—for example, update an application to a new version— a new layer gets built. Thus, rather than replacing the whole image or entirely rebuilding, as you may do with a virtual machine, only that layer is added or updated. Now you don't need to distribute a whole new image, just the update, making distributing Docker images faster and simpler.
113+
114+
Every image starts from a base image, for example ubuntu, a base Ubuntu image, or fedora, a base Fedora image. You can also use images of your own as the basis for a new image, for example if you have a base Apache image you could use this as the base of all your web application images.
115+
116+
_Note: Docker usually gets these base images from Docker Hub._
117+
118+
Docker images are then built from these base images using a simple, descriptive set of steps we call instructions. Each instruction creates a new layer in our image. Instructions include actions like:
119+
120+
. Run a command.
121+
. Add a file or directory.
122+
. Create an environment variable.
123+
. What process to run when launching a container from this image.
124+
125+
These instructions are stored in a file called a Dockerfile. Docker reads this Dockerfile when you request a build of an image, executes the instructions, and returns a final image.
126+
127+
**How does a container work?**
128+
129+
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.
108130

131+
### Ticket Monster
109132

110-
## Deploy Ticket Monster
133+
### Deploy Ticket Monster
111134

112135
https://github.com/rafabene/devops-demo
113136

0 commit comments

Comments
 (0)