Docker 101

 

An introduction to Docker and Container Technology

What is Docker?

Docker is a container technology

 

An isolated process

A standardized unit of software

 

 

Bare metal

 

Virtual Machine

 

Lightweight Container

Title Text

Title Text

Why use Docker?

Platform independence

Resource efficiency

Effective isolation

Speed

Scaling

Operational simplicity

Developer productivity

What's less good?

No orchestration

How we use Containers

Development

Build

How we are going to use Containers

Development

Test

Production

Demo

FROM golang:1.14-alpine AS build

WORKDIR /src/
COPY main.go go.* /src/
RUN CGO_ENABLED=0 go build -o /bin/demo

FROM scratch
COPY --from=build /bin/demo /bin/demo
ENTRYPOINT ["/bin/demo"]

Dockerfile

docker compose

docker swarm

kubernetes

Docker 101

By Johnny Hall

Docker 101

An introduction to Docker and Container Technology

  • 106