Skip to content

Latest commit

 

History

History
234 lines (179 loc) · 7.53 KB

docker-setup.adoc

File metadata and controls

234 lines (179 loc) · 7.53 KB

Setup Environments

This section describes what, how, and where to install the software needed for this lab. This lab is designed for a BYOL (Brying Your Own Laptop) style hands-on-lab.

Hardware

  1. Operating System: Mac OS X (10.8 or later), Windows 7 (SP1), Fedora (21 or later)

  2. Memory: At least 4 GB+, preferred 8 GB

Software

  1. Java: Oracle JDK 8u45

  2. Web Browser

Git Client

Maven

  1. Download Apache Maven from

  2. Unzip to a directory of your choice and add it to the PATH.

VirtualBox

Docker currently runs natively on Linux. It can be configured to run in a virtual machine on Mac or Windows. This is why Virtualbox is a requirement for Mac or Windows.

Downloads are available from .

Virtual Box 5.0.0 does not allow Kubernetes cluster to be started: kubernetes/kubernetes#12614. Make sure to download VirtualBox 4.3.30.

Warning

Linux Users

  1. Have your kernel updated

  2. Users should have the GNU compiler, build and header files for your current Linux kernel

  3. Create a /usr/src/linux link to the current kernel source

Vagrant

Download Vagrant from and install.

Docker Machine

Docker 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.

On Windows copy the file in a convenience directory that is included in the PATH variable.

Create Lab Docker Host

  1. Create Docker Host to be used in the lab:

  2. To make it easier to start/stop the containers, an entry is added into the host mapping table of your operating system. Find out the IP address of your machine:

    docker-machine ip lab

    This will provide the IP address associated with the Docker Machine created earlier.

  3. Edit /etc/hosts (Mac OS or Linux) or C:\Windows\System32\drivers\etc\hosts (Windows) and add:

    <IP ADDRESS>  dockerhost

Docker Client

Docker Client is used to communicate with Docker Host.

Kubernetes

  1. Download Kubernetes (1.0.1) from

  2. Extract the archive and install it by:

export KUBERNETES_PROVIDER=vagrant
cd kubernetes
./cluster/kube-up.sh
Note
Kubernetes 1.0.1 is the only version verified to work with Virtual Box. More details at: kubernetes/kubernetes#12614

WildFly

  1. Download WildFly 9.0 from

  2. Install it by extracting the archive.

JBoss Developer Studio 9 - Beta 2

To install JBoss Developer Studio stand-alone, complete the following steps:

  1. Download

  2. Start the installer as:

    java -jar <JAR FILE NAME>

    Follow the on-screen instructions to complete the installation process.