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 and Lab Zip of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.