Learning Docker // Build Container Images

  Рет қаралды 27,800

Christian Lempa

Christian Lempa

Күн бұрын

In this video, we will be diving into the world of Docker and containers, specifically focusing on how to build our own container images. This is an essential skill for software developers, sysadmins, and network admins, as it allows for customization and security improvements. We will also explore the concept of Docker layers and how to utilize layer caching to improve build efficiency. Don't miss out on this tutorial and join me as we learn all about building container images.
Kestra-*: github.com/kestra-io/kestra
Related Videos/Links
Part 1: • Learning Docker // Get...
________________
💜 Support me and become a Fan!
→ christianlempa.de/patreon
💬 Join our Community!
→ christianlempa.de/discord
👉 Follow me everywhere
→ christianlempa.de
________________
Read my Tech Documentation
christianlempa.de/docs
My Gear and Equipment-*
christianlempa.de/kit
________________
Timestamps:
00:00 - Introduction
00:35 - Why do we build Docker Images?
03:57 - Advertisement-*
05:56 - Build your first Container Image
09:50 - Understanding Docker Image Layers
13:26 - Build our second Container Image
18:55 - Container Image Layer Stacking
20:38 - Other Dockerfile Instructions
________________
All links with “`*`” are and/or include affiliate links.

Пікірлер: 69
@GameDesignerJDG
@GameDesignerJDG 5 ай бұрын
Building an image is one thing I haven't had to learn yet. I've made custom containers but never built them.
@christianlempa
@christianlempa 5 ай бұрын
Hope I got you covered :D
@GameDesignerJDG
@GameDesignerJDG 5 ай бұрын
@@christianlempa You did, you did.
@christianpeyrusse794
@christianpeyrusse794 5 ай бұрын
Thanks Christian for those clear explanations, always very interesting !!
@chhunlykev4414
@chhunlykev4414 5 ай бұрын
Thank you for the refresher series, can wait to see more and more 🤩👏
@sonubhagat6372
@sonubhagat6372 5 ай бұрын
Thanks Christina, finally, 🎉you made it, I'm waiting for next episode, related to containers security, run as
@christianlempa
@christianlempa 5 ай бұрын
Awesome thank you!
@Glatze603
@Glatze603 5 ай бұрын
A video about Kestra would be interesting!
@christianlempa
@christianlempa 5 ай бұрын
Maybe somewhere next year, I need more testing! But sure, that would be interesting :)
@mtnsolutions
@mtnsolutions 5 ай бұрын
Echt cool wie du das alles so leicht und einfach erklärst. Du hast wirklich eine Gabe. Danke sehr. Ich werde es auch versuchen
@christianlempa
@christianlempa 5 ай бұрын
Vielen Dank! Das tut so gut :D
@_TbT_
@_TbT_ 5 ай бұрын
Thanks! Great series! 👍Looking forward to more.
@christianlempa
@christianlempa 5 ай бұрын
More to come!
@Jimmy_Jones
@Jimmy_Jones 5 ай бұрын
This is the one area along with docker networking that I still need to learn a bit more thoroughly. Thanks for the refresher.
@christianlempa
@christianlempa 5 ай бұрын
Thanks! Hope you enjoyed it :)
@tcasex
@tcasex 5 ай бұрын
I'm excited to see the video on shipping it to a registry, and potentially docker networking in the future? Thanks for this series.
@christianlempa
@christianlempa 5 ай бұрын
Nice! Hope that I can get this out next year :D
@webftpmaster
@webftpmaster 5 ай бұрын
Welcome baaaack!!!!!!!! KZbin was NOT the same for me without your videos!!!!! I hope you had some rest! Merry Christmas!! ❤
@Rotzaff
@Rotzaff 5 ай бұрын
Genau im richtigen Moment kommt dieser Beitrag. Hammer. Ja dann kann ich mein connector nun per docker laufen lassen. .env file nach aussen setzten und dann reinkopieren lassen. Tiptop
@christianlempa
@christianlempa 5 ай бұрын
Haha danke! :)
@Shadoweee
@Shadoweee 4 ай бұрын
Great video Christian!
@christianlempa
@christianlempa 4 ай бұрын
thank you so much :)
@Bloome_BlueFolf
@Bloome_BlueFolf 5 ай бұрын
I looove your tutorials and looking forward to the next.
@christianlempa
@christianlempa 5 ай бұрын
Thank you so much :)
@Andy-xt6eh
@Andy-xt6eh Ай бұрын
Amazing video. Its definitely helped to put the theory into practice. 100% looking forward to the security video and subsequent videos. This is a fantastic indepth series. Nothing is boring it is all very very interesting and useful
@christianlempa
@christianlempa Ай бұрын
Thank you so much! Hope I can continue this series at some point :D
4 ай бұрын
Great tutorial. Thanks!
@christianlempa
@christianlempa 4 ай бұрын
Glad it was helpful!
@Glatze603
@Glatze603 5 ай бұрын
Very nice and well explained Christian 🙂
@christianlempa
@christianlempa 5 ай бұрын
THank you so much :)
@VeryCreative481
@VeryCreative481 5 ай бұрын
Hey Christian, I love that you do a docker series! Ironically I'm currently struggling to set up my VPS in a way, that the docker services are only available within the docker network. Why would one want that? Well because only I want access to these services via wireguard. I really hope that networking and "localhosting" on a Public VPS will be covered. Because there seems to be something which I'm not understanding yet.
@zyghom
@zyghom 3 ай бұрын
amazing, I am just starting this journey
@christianlempa
@christianlempa 3 ай бұрын
You got this!
@saintvittsdance
@saintvittsdance 5 ай бұрын
Thank you, very usefull, as always!
@Lunolux
@Lunolux 5 ай бұрын
great video, nice explaination. thx
@TonyKirkland
@TonyKirkland 5 ай бұрын
Thanks for this. I just started learning Dockerfile last week.
@christianlempa
@christianlempa 5 ай бұрын
Glad it was helpful!
@TonyKirkland
@TonyKirkland 5 ай бұрын
@@christianlempa What is that providing 'intellisense' in your terminal?
@SteveArv
@SteveArv 5 ай бұрын
Very interesting. Building dockers was kind of a black hole for me. I always run dockers but never thought of building one. hmm now what's my next project.
@christianlempa
@christianlempa 5 ай бұрын
Awesome :)
@ronm6585
@ronm6585 5 ай бұрын
Thank you.
@christianlempa
@christianlempa 5 ай бұрын
You're welcome!
@benjamink7311
@benjamink7311 5 ай бұрын
Awesome video Bro
@christianlempa
@christianlempa 5 ай бұрын
Thank you!
@allisondealmeida
@allisondealmeida 5 ай бұрын
Which distribution do you think is safer when creating virtual machines to be used in production?
@christianlempa
@christianlempa 5 ай бұрын
I don't think there is such a thing. It always depends on what you're looking for? Stability, Features, Management, Policies, ... for every task there is a distribution :)
@digitallova
@digitallova 5 ай бұрын
Hello can you please provide a guided tutorial for how to deploy kestra on a vps, i encoutred some problems using the provided docker-compose file which probably needs to be modified (network i guess) to make kestra work on a publicaly available VPS. thanks.
@RazoBeckett.
@RazoBeckett. 5 ай бұрын
keep going sir, i wanna be sysadmin i need learn this
@denniskluytmans
@denniskluytmans 5 ай бұрын
I was a sysadmin, now I'm an IT consultant. You rarely use docker you also are not building containers. It's very nice to know, very gun to do. But as sysadmin you mostly use windows. Devs build containers
@sabinopereira1631
@sabinopereira1631 5 ай бұрын
Hey man, I love your terminal. Any guides on how to get it for myself?
@christianlempa
@christianlempa 5 ай бұрын
Look out for my videos about "Warp Terminal" :)
@ralkey
@ralkey 4 ай бұрын
what is that terminal program called? it seems so nice to have executed commands go down instead of up.
@christianlempa
@christianlempa 4 ай бұрын
it's called warp
@tyler4723
@tyler4723 5 ай бұрын
Hey what auto-complete tool are you using here? Super nice that it just has a drop down menu with all the options!!
@christianlempa
@christianlempa 5 ай бұрын
It's Warp Terminal
@tyler4723
@tyler4723 5 ай бұрын
@@christianlempasweet thanks! Ima check that out
@bas18872
@bas18872 5 ай бұрын
Wird es auch ein umfangreiches Video von Kestra geben?
@christianlempa
@christianlempa 5 ай бұрын
Da bin ich mir noch nicht sicher, vielleicht im nächsten Jahr, aber kann und will nix versprechen
@r.e.434
@r.e.434 5 ай бұрын
i tried deploying a small python tool via docker but the container is super huge like 1.x GB for a super small py. how can i make sure that the container is lean?
@fullstack_journey
@fullstack_journey 5 ай бұрын
Don't use a very heavy base image
@jzcalderon
@jzcalderon 5 ай бұрын
Try using Alpine images; almost every solution, such as Python, has an Alpine base image.
@user-us8bd4ht9j
@user-us8bd4ht9j 20 күн бұрын
Hey Christian, also ich dachte immer, dass bei dem COPY-Befehl einer der beiden Argumente der ZielOrdner selbst ist und das andere Argument die Datei ist, die kopiert werden soll? Verwundert mich daher etwas, wenn du COPY requirements. txt requirements. txt schreibst....
@christianlempa
@christianlempa 17 күн бұрын
Achso, ja das stimmt! Ich kopiere einfach nur die selbe datei aus dem gleichen ordner, du kannst natürlich auch die datei in ein anderes verzeichnis oder mit einem anderen namen kopieren.
@Jason.M
@Jason.M 5 ай бұрын
So how do you create a "base image". Someone somewhere is making them. Future episode?
@christianlempa
@christianlempa 5 ай бұрын
Good question, it's not a priority item, but would be interesting for sure!
@sihker
@sihker 5 ай бұрын
Damn, I was expecting to see buildah instead of docker builder :)
@mikhailgoussarov4663
@mikhailgoussarov4663 4 ай бұрын
You should do a udemy course
@christianlempa
@christianlempa 4 ай бұрын
I don't like udemy, but you can still support me on Patreon :)
@Kabodanki
@Kabodanki 5 ай бұрын
It's possible to talk about container without ever saying the word Docker once.
Manage Docker and Kubernetes in VSCode
21:54
Christian Lempa
Рет қаралды 25 М.
Learning Docker // Getting started!
35:56
Christian Lempa
Рет қаралды 99 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 118 #shorts
00:30
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 121 МЛН
ONE MORE SUBSCRIBER FOR 6 MILLION!
00:38
Horror Skunx
Рет қаралды 12 МЛН
О, сосисочки! (Или корейская уличная еда?)
00:32
Кушать Хочу
Рет қаралды 8 МЛН
Is it time to switch from Docker to Podman?
16:05
Christian Lempa
Рет қаралды 214 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 386 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 216 М.
Learn Docker in 1 Hour | Full Docker Course for Beginners
1:27:53
JavaScript Mastery
Рет қаралды 265 М.
Running Windows in a Docker Container!
10:07
Wolfgang's Channel
Рет қаралды 254 М.
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 83 М.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,4 МЛН
Build YOUR OWN Dockerfile, Image, and Container - Docker Tutorial
18:20
Using Docker Multi-Stage Builds
13:41
DevOps Toolkit
Рет қаралды 29 М.
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 1,9 МЛН
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 9 МЛН
ПРОБЛЕМА МЕХАНИЧЕСКИХ КЛАВИАТУР!🤬
0:59
Корнеич
Рет қаралды 3,4 МЛН
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11
⌨️ Сколько всего у меня клавиатур? #обзор
0:41
Гранатка — про VR и девайсы
Рет қаралды 652 М.
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 7 МЛН