2. Introduction
● Niko Virtala
● Over 10 years of experience in designing,
implementing and operating IT system
management services
● Cloud Architect at Nordcloud since August
2017
● Docker user since 2014
4. What is Docker?
● Docker is an open platform to build, ship,
and run distributed applications.
● Also the company, Docker Inc., who builds
on the work of the Docker community.
5. What is container?
A container image is a lightweight, stand-alone,
executable package of a piece of software that
includes everything needed to run it: code,
runtime, system tools, system libraries, settings.
6. Image and its
layers
A Docker image is built
up from a series of layers.
Each layer represents an
instruction in the image’s
Dockerfile. Each layer
except the very last one is
read-only. Consider the >>
as a Dockerfile:
FROM golang:alpine as build
WORKDIR /whalesay
ADD . .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o whalesay .
FROM gcr.io/distroless/base
LABEL maintainer "Niko Virtala <niko@nikovirtala.io>"
WORKDIR /
COPY --from=build /whalesay .
EXPOSE 80
ENTRYPOINT ["/whalesay"]
7. Build, Ship and Run
● Build an image from the Dockerfile in the current directory and tag the image:
docker build -t whalesay:1.0 .
● Push (Ship) an image to a registry:
docker push nikovirtala/whalesay:1.0
● Run an image as container:
docker run --name whalesay --rm -p 80:80 nikovirtala/whalesay:1.0
8. How do containers compares to VMs?
● Virtual machines are an abstraction
of physical hardware turning one
server into many servers.
● Containers are an abstraction of
operating system and app,
packaging code and dependencies
together.
10. Community Edition
Docker Community Edition [CE]
● The latest Docker version with integrated tooling to build, test and run container apps
● Available for free with software maintenance for the latest shipping version
● Integrated and optimized for developer desktops, Linux servers and clouds
● Monthly Edge and quarterly Stable release channels available
● Native desktop or cloud provider experience for easy onboarding
11. Enterprise Edition
Docker Enterprise Edition [EE]
● Image Management: private registry, caching, security- and continuous vulnerability scanning
● Integrated container app management
● Role Based Access Control, LDAP / Active Directory support
● Integrated secrets mgmt, image signing policy
● Secure multi-tenancy with node-based isolation
● Automated Image Promotion
● Support
13. 1. Create yourself a Docker account in https://cloud.docker.com/
2. Run thru parts 1 to 3 from https://docs.docker.com/get-started/
Let’s schedule some containers!
18. Thank you!
Contact us:
Niko Virtala
Nordcloud Oy
Fredrikinkatu 63 a C
00100 Helsinki
niko.virtala@nordcloud.com
+358 40 683 80 86
www.nordcloud.com
19. Resources
Docker Documentation
Docker Blog
Docker Hub
Moby Project
Docker Enterprise Edition Hosted Demo
Docker Training - Learn Docker From Docker
Play with Docker
Docker Community
Docker Internals
Docker Mastery online course by Docker Captain
Bret Fisher
Awesome-docker - A curated list of Docker
resources and projects
Docker Captains
Docker Cheat Sheet
Docker Certification
Docker in Twitter
A Brief History of Containers