際際滷

際際滷Share a Scribd company logo
Getting Started with Docker
Getting Started
 Install Docker Community Version
 Install Java
 Install Maven
 Start Docker Desktop Application
 Make a Docker ID
Java Deployments
 Package Code into a single
file: JAR/WAR/EAR
 JVM present on Host OD
 JVM understands the
bytecode
Docker Deployments
 Package application into an
Image
 Image follows a standard
format
 Docker engine/host
understands the Docker
Image
What are VMs?
 Use Hypervisor which can
support different OS from
Host
 Example: Type 2 Hypervisor
like Virtual Box
 Each Guest OS needs
complete memory
requirements
How is Docker different?
 Docker is an App Delivery
Technology
 No full blown OS but Docker
Engine has a minimal OS
 Instead of 1GB RAM in case
of Guest OS, now memory
need is only 120MB
Docker Releases
 1 major release every quarter, starting from March 2017
 Each major release supported officially for 1 year
Installing Docker Library
Use simple commands:
docker run -p 6379:6379 redis
Hello from Docker
docker run hello-world
Using the test application
More in coming sessions...

More Related Content

Getting started with docker