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
67
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Containers'n stuff
Intro to containers and how to secure them.
Andreas Mosti
October 04, 2021
More Decks by Andreas Mosti
See All by Andreas Mosti
Deterministic Builds and where to find them
andmos
0
80
Correct Maps Are Useless: A guide to mental models
andmos
0
200
LEGO I Praksis
andmos
0
90
Supply Chain Attacks: Når den digitale forsyningslinja blir angrepsvektor
andmos
0
49
IoIT: Internet of Insecure Things
andmos
0
140
IoT - Bevisstgjøring
andmos
0
65
GitOps in a nutshell
andmos
0
230
Supply Chain Attack
andmos
0
80
OpenFaaS: Serverless platform with no strings attached?
andmos
0
340
Featured
See All Featured
Abbi's Birthday
coloredviolet
3
8.5k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Designing for Performance
lara
611
70k
KATA
mclloyd
PRO
35
15k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Between Models and Reality
mayunak
4
360
Paper Plane
katiecoart
PRO
1
52k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Facilitating Awesome Meetings
lara
57
7k
Amusing Abliteration
ianozsvald
1
220
Context Engineering - Making Every Token Count
addyosmani
9
1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
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