Mount Secure Build-Time Secrets with Docker and Docker Compose

  Рет қаралды 375

Nick Janetakis

Nick Janetakis

Күн бұрын

Avoid leaking build-time secrets in your Docker images such as API keys or tokens.
Hit the subscribe button to receive more videos like this!
REFERENCE LINKS
---------------------------------------------------
► nickjanetakis.com/blog/mount-...
COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.
► nickjanetakis.com/courses/
THE TOOLS I USE / GEAR
---------------------------------------------------
► nickjanetakis.com/blog/the-to...
FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter: / nickjanetakis
► GitHub: github.com/nickjj
TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:37 -- A couple of use cases
1:43 -- An insecure way with build ARGs
6:14 -- Make sure BuildKit is enabled
6:49 -- Mounting a secure env variable secret
11:26 -- Does it actually work?
14:04 -- Passing it as an env var for a command
15:12 -- Adding multiple secrets
16:02 -- Mounting files instead of env vars
18:43 -- Using Docker Compose for secret env vars
23:13 -- Using Docker Compose for secret files and configs

Пікірлер: 6
@JohnMitchellCalif
@JohnMitchellCalif Ай бұрын
very useful!
@vidhinmehta4406
@vidhinmehta4406 Ай бұрын
thanks
@ssd6010
@ssd6010 Ай бұрын
where's your hat?
@NickJanetakis
@NickJanetakis Ай бұрын
It's temporarily on vacation. I recently had surgery and there's quite a few stitches, I didn't want to subject anyone to seeing that.
@farzadmf
@farzadmf Ай бұрын
Oh wow, I hope you're feeling OK
@NickJanetakis
@NickJanetakis Ай бұрын
@@farzadmf Thanks, so far so good.
Docker Tip #97: Save and Load Docker Images from a Zip File
7:17
Output, Assign, Pipe and Redirect a Heredoc in a Shell Script
12:20
PINK STEERING STEERING CAR
00:31
Levsob
Рет қаралды 22 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 65 МЛН
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 2,4 МЛН
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
Build Multi-CPU Architecture Docker Images with Buildx
27:04
Nick Janetakis
Рет қаралды 835
Git Diff 2 Different Commits, Tags or Branches
6:18
Nick Janetakis
Рет қаралды 652
385 what is PGID in linux?
1:08
How To Linux
Рет қаралды 82
Setting Up a TCP Listener and Connecting to It with Netcat
7:34
Nick Janetakis
Рет қаралды 456
Hiding User Input in a Shell Script
6:41
Nick Janetakis
Рет қаралды 483
clear vs CTRL + L in Your Shell
3:52
Nick Janetakis
Рет қаралды 1 М.
Connect to a Service Running on Your Docker Host from a Container
12:28
Build Git Tagged Multi-Arch Docker Images with GitHub Actions
15:27
How to create and use a Docker secret from a file
2:10
How To Make Tech Work from TechRepublic
Рет қаралды 9 М.
PINK STEERING STEERING CAR
00:31
Levsob
Рет қаралды 22 МЛН