Skip to content

Latest commit

 

History

History
151 lines (139 loc) · 4.45 KB

docker_for_java_developers.md

File metadata and controls

151 lines (139 loc) · 4.45 KB

Docker for Java Developers

Introduction

Course Introduction

  1. A lot of technologies to deal with
    1. MySQL
    2. PostgreSQL
    3. ActiveMQ
    4. RabbitMQ
  2. Docker can be used
    1. Start MySQL container easily
    2. Start ActiveMQ container easily
  3. It is very fast, light
  4. Docker established a concept of container images
    1. This has made containers portable
    2. API makes it easy to find containers and save them as images
    3. Images are easy to copy and re-use on other servers
  5. Docker maintains ready made images in docker hub
    1. Open source project
  6. Errors
    1. Check what caused the problem
    2. See the solution
  7. Flash cards
    1. For job interview
  8. Many containers

Instructor Introduction

  1. Freelancer
  2. Java Developer
  3. Consulting

Free 90 Day IntelliJ Trial!

Checking out from GitHub

  1. git clone ...

Docker Cheat Sheet

Course Slack Room - Chat Live with Me and Other Gurus!

Introduction to Docker

Introduction

What is Docker

Docker Editions

Installing Docker

Hello World with Docker

Docker Hub

Introduction KiteMatic

Assignment - Run Hello World Nginx

Conclusion

Working with Containers and Images

Introduction

Running Mongo DB Docker Container

Assignment - Download and Run Spring Boot Project

Assignment Review

Docker Images

Docker Files

Non Persistent Container Storage

Assigning Storage

Assignment - Run Rabbit MQ in a Docker Container

Assignment Review

Assignment - Run MySQL in a Docker Container

Assignment Review

Docker House Keeping

Flash Cards

Conclusion

Running Spring Boot in a Centos Image

Introduction

Preparing CentOS for Java Development

Sample Spring Boot Application

Running Spring Boot from Docker

Assignment: Run Your Own Spring Boot App

Assignment: Fix Dockerfile

Assignment Review

Interview with James Labocki of Red Hat

Conclusion

DevOps - Automating Building of Docker Images

Introduction

Maven vs Gradle and Fabric8

Spring Boot Application Code Review

Adding Fabric8 Maven Plugin

Creation of Docker Image in Fabric 8

Publishing to Dockerhub

Assignment - Perform a Release in Maven

Assignment Code Review

Using A Docker File Template

Flash Cards

Conclusion

Running Images from Maven

Introduction

Running a Docker Image from Maven

Design for a More Robust Application

Application Code Review

Running Example Application with Docker

Running Docker Containers via Maven

Using Docker Containers for Integration Testing

Using Maven for CI Builds

Assignment: Add Pageview Counter for Index Page

Assignment Review

Flash Cards

Conclusion

Using Docker Compose

Introduction to Docker Compose

YAML Crash Course

Run Wordpress with Docker Compose

Run Pageview Service with Docker Compose

Assignment: Add Web Application to Docker Compose

Assignment Review

Adding Spring Boot Actuator

Conclusion

Docker Swarm Mode

Introduction

What is Docker Swarm Mode?

Docker Swarm Mode Init

Docker Swarm Topology

Provision Servers for Docker Swarm

Assignment: Install Docker on Swarm Servers

Assignment: Review Install Docker

Creation of a Multi Node Docker Swarm

Assignment - Install Portioner

Assignment Review

Docker Swarm Service Discovery

Docker Swarm Routing Mesh

Flash Cards

Conclusion

Running Java Apps in Docker Swarm

Introduction

Deploy MySQL as Service in Docker Swarm

Docker Overlay Networks

Docker Swarm Stacks

Using Docker Secrets

Implementing Docker Secrets

Conclusion

Spring Boot Cookbook

Spring Boot Cookbook Introduction

Spring Boot Mongo DB Example

Spring Boot MySQL Example

Spring Boot Postgress Example

Spring Boot Maria DB Example

Spring Boot DB2 Example

Spring Boot Oracle Example

Spring Boot Neo4J Example

Spring Boot Redis Example

Spring Boot Cassandra Example

Spring Boot ActivMQ Example

Spring Boot RabbitMQ Example