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
39
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
41
Correct Maps Are Useless: A guide to mental models
andmos
0
160
LEGO I Praksis
andmos
0
62
Supply Chain Attacks: Når den digitale forsyningslinja blir angrepsvektor
andmos
0
33
IoIT: Internet of Insecure Things
andmos
0
120
IoT - Bevisstgjøring
andmos
0
42
GitOps in a nutshell
andmos
0
190
Supply Chain Attack
andmos
0
50
OpenFaaS: Serverless platform with no strings attached?
andmos
0
300
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
650
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.5k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
It's Worth the Effort
3n
187
28k
Facilitating Awesome Meetings
lara
57
6.6k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
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