Skip to content

Softsysteme/javaee-docker-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 

Repository files navigation

Docker and Kubernetes for Java Developers

Preface

Containers are enabling developers to package their applications (and underlying dependencies) in new ways that are portable and work consistently everywhere? On your machine, in production, in your data center, and in the cloud. And Docker has become the de facto standard for those portable containers in the cloud.

Docker is the developer-friendly Linux container technology that enables creation of your stack: OS, JVM, app server, app, and all your custom configuration. So with all it offers, how comfortable are you and your team taking Docker from development to production? Are you hearing developers say, “But it works on my machine!” when code breaks in production?

This lab offers developers an intro-level, hands-on session with Docker, from installation, to exploring Docker Hub, to crafting their own images, to adding Java apps and running custom containers. It will also explain how to use Swarm to orchesorchestrate these containers together. This is a BYOL (bring your own laptop) session, so bring your Windows, OSX, or Linux laptop and be ready to dig into a tool that promises to be at the forefront of our industry for some time to come.

Setup Environments

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

Attendees

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.

Hardware

  1. CPU

    1. x86

    2. x64

  2. Memory

    1. min 8 GB for attendees

    2. min 16 GB for instructors

Software

  1. Operating System

    1. Windows 7 (SP1)

    2. Mac OS X

    3. Linux / Fedora 21

Instructor

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.

The Lab

Docker Basics

TODO: Extract some basic information from https://docs.docker.com/introduction/understanding-docker/

Docker

Deploy an application from JBoss Developer Studio

Cluster using Swarm

We don’t setup Kubernetes on Windows yet (might be an option to use jube someday)

Jenkins and staging through environments

??

Docker Compose (Optional, No Windows Version without Python)

References

  1. JBoss and Docker: http://www.jboss.org/docker/

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 99.9%
  • Other 0.1%