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
64
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
78
Correct Maps Are Useless: A guide to mental models
andmos
0
200
LEGO I Praksis
andmos
0
86
Supply Chain Attacks: Når den digitale forsyningslinja blir angrepsvektor
andmos
0
45
IoIT: Internet of Insecure Things
andmos
0
140
IoT - Bevisstgjøring
andmos
0
63
GitOps in a nutshell
andmos
0
220
Supply Chain Attack
andmos
0
75
OpenFaaS: Serverless platform with no strings attached?
andmos
0
330
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
360
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
850
Producing Creativity
orderedlist
PRO
348
40k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
140
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Music & Morning Musume
bryan
47
7.2k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
220
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
270
Done Done
chrislema
186
16k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
160
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