Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Containers'n stuff
Search
Andreas Mosti
October 04, 2021
0
27
Containers'n stuff
Intro to containers and how to secure them.
Andreas Mosti
October 04, 2021
Tweet
Share
More Decks by Andreas Mosti
See All by Andreas Mosti
Deterministic Builds and where to find them
andmos
0
24
Correct Maps Are Useless: A guide to mental models
andmos
0
130
LEGO I Praksis
andmos
0
39
Supply Chain Attacks: Når den digitale forsyningslinja blir angrepsvektor
andmos
0
26
IoIT: Internet of Insecure Things
andmos
0
110
IoT - Bevisstgjøring
andmos
0
24
GitOps in a nutshell
andmos
0
130
Supply Chain Attack
andmos
0
36
OpenFaaS: Serverless platform with no strings attached?
andmos
0
250
Featured
See All Featured
RailsConf 2023
tenderlove
29
880
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Optimizing for Happiness
mojombo
376
69k
Code Review Best Practice
trishagee
64
17k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
13
1.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
Why You Should Never Use an ORM
jnunemaker
PRO
53
9k
Why Our Code Smells
bkeepers
PRO
334
57k
Agile that works and the tools we love
rasmusluckow
327
21k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Unsuck your backbone
ammeep
668
57k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Transcript
Containers’n stuff Andreas Mosti | Bekk
None
Why containers?
None
None
None
None
Shipping is hard!
None
Specification for packaging, shipping and running services
None
None
None
None
None
FROM JRE11 COPY app.jar CMD app.jar FROM MAVEN- JDK11 COPY
src/ . RUN mvn package CMD app.jar
FROM MAVEN-JDK11 AS BUILD COPY src/ . RUN mvn package
FROM JRE11 AS RUNTIME COPY –FROM=BUILD app.jar CMD app.jar
None
None
None
None
None
Containers are minimal
None
Containers are task-specific
Containers are isolated
Containers are reproducible (ish)
None
None
None
Use fixed tags for immutability
None
Use multistage builds for small, robust images
None
Container breakout
None
Secrets leakage
None
Container resource abuse
None
Signed container images
None