Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Latest commit

 

History

History
48 lines (31 loc) · 2.74 KB

ch01-setup.adoc

File metadata and controls

48 lines (31 loc) · 2.74 KB

Setup Environments

This section describes the hardware and software needed for this workshop, and how to configure them. This workshop is designed for a BYOL (Bring Your Own Laptop) style hands-on-lab.

Hardware & Software

  1. Memory: At least 4 GB+, strongly preferred 8 GB

  2. Operating System: Mac OS X (10.10.3+), Windows 10 Pro+ 64-bit, Ubuntu 12+, CentOS 7+.

    Note
    An older version of the operating system may be used. The installation instructions would differ slightly in that case and are explained in the next section.
  3. Amazon Web Services credentials with the following permissions. This is only needed for some parts of the workshop.

Install Docker

Docker runs natively on Mac, Windows and Linux. This lab will use Docker Community Edition (CE). Download the Docker CE edition for your machine from the Docker Store.

Note
Docker CE requires a fairly recent operating system version. If your machine does not meet the requirements, then you need to install Docker Toolbox.

This workshop is tested with Docker Community Edition 17.09.0-ce-rc2, build 363a3e7 on Mac OS X 10.12.5.

Download Images

This tutorial uses a few Docker images and software. Let’s download them before we start the tutorial.

Download the file from https://raw.githubusercontent.com/docker/labs/master/developer-tools/java/scripts/docker-compose-pull-images.yml and use the following command to pull the required images:

docker-compose -f docker-compose-pull-images.yml pull --parallel
Note
For Linux, docker-compose and docker commands need sudo access. So prefix all commands with sudo.

Other Software

The software in this section is specific to certain parts of the workshop. Install them only if you plan to attempt them.

  1. Install git.

  2. Install Docker Cloud CLI following the instructions.

  3. Download Java IDE based upon your choice and install.

  4. Download Maven and install.

  5. Download the OpenJDK build of JDK 9 for Linux x64. (See also the OpenJDK JDK 9 download page.)

  6. Download the early-access Open JDK build of JDK 9 for Alpine Linux.