Docker

Getting Started

Topics 

  • Docker architecture 
  • Docker installation 
  • Docker machine 
  • Docker client 
  • Docker images pulled and installed 
  • Docker images in the Docker registry 
  • Types of Docker images 
  • Kitematic

You must have an active subscription to download PDF,Lab Zip and Recordings of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.

 

Running Docker Apps

Topics 

  • Run Linux (Alpine, Ubuntu, Fedora, etc.) 
  • Run Helloworld apps 
  • Docker containers
  • Run Web application with Port binding 
  • Run Nginx, Tomcat with Port binding 
  • Volume

You must have an active subscription to download PDF,Lab Zip and Recordings of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.

 

Docker Compose

Topics 

  • Multi-container application 
  • What is and Why Docker Compose?

Multi-Container Application 

  • Many applications want to use services from other containers 
  • Example scenarios 
    • Web application wants to use various database servers (Mongo, Redis, MySQL) as their database server

You must have an active subscription to download PDF,Lab Zip and Recordings of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.

 

Build Your Own Docker Apps

Topics 

  • Build and run a simple Java SE application

Build and run Simple Java application as Docker app

Steps to take 

  • Write Java code 
  • Write a Dockerfile 
    • Dockerfile is a text file that contains all the commands that are used to assemble an image 
  • Build Docker image from a Dockerfile 
    • docker build . -t 
  • Run the image 
    • docker run 
  • Push the image 
    • docker push

You must have an active subscription to download PDF,Lab Zip and Recordings of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.

 

Docker Volume

Topics 

  • What is and Why volume (data volume)? 
  • Add a volume 
  • Mount host directory as a volume 
  • Create a volume 
  • Volume container 
  • Backup, restore, and migrate volumes

What is and Why Volume? 

  • Containers are ephemeral 
    • Once a container is removed, it is gone along with data it created 
  • What about scenarios where you want the applications running inside the container to write to some files/data and then ensure that the data is still present even if the container is no longer runs or exists 
    • You are running an application that is generating data and it creates files or writes to a database and so on. Now, even if the container is removed and in the future you launch another container, you would like that data to still be there 
  • Volumes are designed to persist data, independent of the container’s lifecycle 
    • Docker therefore never automatically deletes volumes when you remove a container, nor will it “garbage collect” volumes that are no longer referenced by a container

You must have an active subscription to download PDF,Lab Zip and Recordings of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.