Docker Compose will BLOW your MIND!! (a tutorial)
ฝัง
- เผยแพร่เมื่อ 15 มิ.ย. 2024
- We don’t live in Docker containers, keep yourself safe with Bitdefender Premium Security: bit.ly/BitdefenderNC (59% discount on a 1 year sub)
Stop spinning up Docker Containers like your grandparents, use Docker Compose instead! No more worrying about typing a million commands to get your whole Docker network and Containers running, do it in a nice pretty YAML file that you can deploy, stop, and redeploy with ease!
🔥🔥Commands and hacking lab YAML file!: ntck.co/compose
Vulhub GitHub link: ntck.co/vulhub
🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy
**Sponsored by Bitdefender
SUPPORT NETWORKCHUCK
---------------------------------------------------
➡️NetworkChuck membership: ntck.co/Premium
☕☕ COFFEE and MERCH: ntck.co/coffee
Check out my new channel: ntck.co/ncclips
🆘🆘NEED HELP?? Join the Discord Server: / discord
STUDY WITH ME on Twitch: bit.ly/nc_twitch
READY TO LEARN??
---------------------------------------------------
-Learn Python: bit.ly/3rzZjzz
-Get your CCNA: bit.ly/nc-ccna
FOLLOW ME EVERYWHERE
---------------------------------------------------
Instagram: / networkchuck
Twitter: / networkchuck
Facebook: / networkchuck
Join the Discord server: bit.ly/nc-discord
0:00 ⏩ Intro
0:43 ⏩ What do you need?
2:04 ⏩ Let’s do some composing
8:17 ⏩ Time to get a little crazy!!(With Containers)
10:46 ⏩ and let’s get a little crazier
14:41 ⏩ Now let’s deploy a vulnerable hacking lab!
15:44 ⏩ Outro
AFFILIATES & REFERRALS
---------------------------------------------------
(GEAR I USE...STUFF I RECOMMEND)
My network gear: geni.us/L6wyIUj
Amazon Affiliate Store: www.amazon.com/shop/networkchuck
Buy a Raspberry Pi: geni.us/aBeqAL
Do you want to know how I draw on the screen?? Go to ntck.co/EpicPen and use code NetworkChuck to get 20% off!!
#docker #networking #containers - วิทยาศาสตร์และเทคโนโลยี
We don’t live in Docker containers, keep yourself safe with Bitdefender Premium Security: bit.ly/BitdefenderNC (59% discount on a 1 year sub)
🔥🔥Commands and hacking lab YAML file!: ntck.co/compose
Vulhub GitHub link: ntck.co/vulhub
🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy
I live in linux
Windows Defender has reached parity with aftermarket security suites nowadays; a VPN + uBlock Origin + good browser settings is all most users need to be generally safe
I've been using BitDefender for years now. Gave me a bit of trouble when I was using my computer to mine Etherium, but I was able to get it working.
I managed to pass CompTIA Security+ Exam today. Got a 771, so not super passing, but passing. Next, I think I'll go for Linux+ once I start the new job that I needed the Security+ for.
Lucky I've watched almost all your videos chuck 😁 You are a legend!
@tradde11 Aftermarket security software is pretty much snake oil scams nowadays; as you probably know good cyber hygiene can be all done via FOSS today anyway. I was pretty disappointed to see the Bitdefender sponsor link for this video, which is why I said something
The day has finally come. I got my first IT job. And I want to thank you Chuck, you are a part of this Universe that brought me closer to this job. Your videos are amazing and inspiring. Thank you for showing me how fun networks can be. Have an amazing day, week, month and life!
How is your job so far?
Ayooo!! Congrats! :D
Hey, im at the same place as you were before. How hard it was to find a job? Im pretty nervous
Epic. Congratulations! Chucks videos are amazing. 😊
Congratulations 🎉👏👏
With Love from India 🇮🇳
As a newbie desperately trying to find a simple tutorial on how to use Docker I am instantly overwhelmed by this video.
i was overwhelmed too but i quickly understood that docker compose is just a permanent file with the commands used to start a docker container in the form of a yaml file.
Great video! Thanks!
I believe that YAML is quite forgiving and you can avoid quoting everything (though it doesn't hurt!). Also, one important thing about compose files is that those environment variables (as well as pretty much any parameter you specify) can be taken from your environment variables or from a ".env" file that is in "KEY=VALUE" form. On top of that, you can still assign default values if value hasn't been provided! Here's a quick example:
ports:
- ${WEB_PORT:-8080}: 80
That will use your environment variable 'WEB_PORT" and if it doesn't exist, assign "8080" to it!
👆👆👆🇺🇸🇺🇸.
Using tabs makes it easier for humans to read. The machine doesn’t care.
@@Ozymandias1The tabs are actually important in YAML and not just for human readability.
Yea and using tabs literally doesn’t seem to work. Had to be 2*spacebar - which i think is what nano does for you, but not desktop app text editors.
Your videos are SO engaging, fun to learn, and even fun to watch when I already know the material (rarely). One of my favorite content creators on TH-cam by far
Chuck your killing it man. It's like going to disneyland and walking away smarter everytime. There is just no competition you're true calling was always to be a mentor man. Absolutely insane how much anyone can learn in a few minutes from any of you're videos.
👆👆👆🇺🇸🇺🇸..
"restart: unless-stopped" is honestly the better option from my experience.
Hey man, recently discovered your channel and I've been binge watching all the past videos. I have learned seriously so much and I'm about to completely revamp my homelab using some of the things I've learned. Thank you!
I truly love your content and the way your explanation is awesome which really helps to understand things so fast.
Bro you are literally teaching me super powers. I needed a print server and just made cups container in like 2 minutes. THIS IS OP.
because of your intro into docker I was able to set up an nginx server and a vaultwarden. I'm also working on hosting some of my simple games I'm leaning to make in bevy myself. Thank you for taking the time to create these videos.
Tbh the best, super beginner-friendly tutorials out there man! More power to you!! 😇
Using bind mounts and docker compose, you can actually also do the development directly inside docker containers without needing to develop first and then move the project to containers. You can have separate YAML files for developing and running the containers. I am currently working on an article that illustrates it using a very minimalistic example.
Can you share that please.
would love to read!
@@max-hill-4 Same here!
Heck yeah, I was waiting for docker compose since last docker video. Docker is freaking awesome
Chuck, you are the very best teacher regardless of subject, I ever saw. Congratulations!
quick and easy introduction, thanks Chuck, when you start with docker everything becomes easier, no more complicated configs nor have to open ports, because you are no longer using a service, usually people just uninstall/remove it and forget to close those ports
I love your content.
Genuinely entertaining, educational, motivational, and inspiring.
I always learn something new and want to explore so many things!
Thank you and God bless.
Man! you are the kind of teacher every parent dream to teach their kids! legend!
what i enjoy about your tutorials is the simplicity of the language. you dont use the complex tech language, where at some clips i need to re-watch a couple of times to really understand. keep up the good work mate.
Thank you, now I can make my parents proud of me with a single command
I must say this was the best week. We got 4 videos from you and learned so much.
👆👆👆🇺🇸🇺🇸..
Thanks Chuck, for this video
I was searching for docker videos
The docker-compose video i have ever needed. Thank you so much!
Learned so much from these videos and have spun up all my personal servers with Docker! Thanks Network Chuck for your knowledge share!
Hopefully not with sudo.
What about hacking an Instagram account
restart: unless-stopped is generally a wiser idea imo. restart: always will cause it to restart even if you deliberately tell it to go down. This can be a problem if you have a misconfigured container acting in a way you didn't intend and is perhaps destroying your data. I prefer having the option to manually stop a container without it automatically starting again, especially if it is behaving badly.
You're such a great guy, the best tech youtuber ever your way of explaining things make it mush easier to understand thank you very very mush for your efforts 🙏♥
Lucky I've watched almost all your videos chuck 😁 You are a legend!
You present any content with all your energy and with care. thanks
bro! awesome videos like always! such a great vibe yo! Plus, I love docker more than ever
Docker compose is a true marvel, I even know more about it than normal docker
Hey Chuck!
Thank you so much for the great videos. I've been a Win Sysadmin for 10 years and still learn something with each of your videos. Especially the Linux Command or Docker videos have helped me a lot in my daily business.
By Win Sysadmin, you mean GUI jockey? How do you feel about MS making on-prem Server obsolete? And forcing you to do everything in PowerShell?
Awesome video editing and soundscape! I knew docker compose already, but i watched this video just because it was done in such a cool way 😄
just subbed because of the progress bar during the sponsor segment. thank you for respecting my time ❤
This video is so smooth that it hurts. Well done!
You are the best tutor on TH-cam for me so far!!
I love docker-compose, so much easier than messy vanilla docker commands. I probably do things wrong, but I have a separate yaml file for each service (or group of services) I want to run, allowing me to manage them a bit more easily. No need to debug a huge complex default yaml file. Also, I heard docker-compose (which is a python script) is deprecated, and is being replaced by now-inbuilt functions of docker itself using "docker compose ". Haven't really looked into that yet.
The defintion of YAML=yet another markup language, little bit in the same line as YAST = Yet anather setup tool , it;s a Linux naming convention, love thst !
Thank you so much Chuck!! for your Tutorials!! I just got a new MacBook and loving how fast it is on the M3 chips!! God Bless!
I always give my students your channels URL. I believe between you, David and a few others there is so much to learn from IT, Cybersecurity and Web Development. Thanks!
Mind giving me those as well? I wish to gain as much knowledge. And if they are as nice as chuck, i wish to view them
The Digital Life, Level1Linux, Jeff Geerling. Also searching with what you want learn is effective way and choose the videos less than 2 years old if it's about IT.
@@muhammedatasoy7711 if youre just starting with linux make sure to look into the playlist of tutoriallinux's Channel: The Linux Basics Course: Beginner to Sysadmin, Step by Step (seems old and outdated but it covers core concepts that havent changed since and is very good explained)
@@muhammedatasoy7711 Tim Corey pretty good too and detailed.
Just wanted to say thanks for explaining this so clearly.
Good intro man, thanks for the insight. Appreciate you taking the time to learn it and make a video 🤙🏼
Damn chuck, the algo always shows me your videos about just the right video at just the right time
I love your enthusiasm brother .
As always, YOUR video is the one that helps me understand the WHY and HOW of whatever IT issue I have. 🎉☕️
I love your videos they are the best. Keep it up!
This video gave me everything I needed today. Thank you, you have a new subscriber.
You really got communication skills! Great explanation, thank u
So much enthusiasm. You are a great teacher!
Good shit!
I love your videos Chuck!
I could I use this video like a week ago. Instant I have to do my own research on own they work, and I am dyslexic! Highschool also got in the way.
you're funny in explaining boring techy stuff. the content is clear and easy to grasp. good 👍
Ain't no way it's this easy?? This was such a nice and quick intro into the docker-compose issue I've always wanted.
what i like the most with networkchuck is even if you know the technologie he's going to talk about he's still got new cool stuff to teach you
1- I love Network Chuck
2 - Please cc arabic
Docker makes server management so easy.
The fact that I can just deploy my entire server through a single command makes switching vps providers / server hardware so much easier, knowing that I would be able to recreate the environment exactly how it was.
This is the same reason NixOS is a great linux distro too, you can put your entire system configuration into config files and install it or switch it out with a single command (although not nearly as easy as Docker since Nix uses its own programming language)
Yo dude, your videos are a blessing. Even though I already know some stuff, you come up with more shit explained like if I was 5. Going through every of your videos right-now.
Thanks ...... your video helped me a lot ... you are a good teacher .
Love your work man.
Нарешті хтось просто і зрозуміло розповів про те як працює Докер )) Дуже дякую Чак, ти супер!
Finally, someone simply and clearly explained how Docker works )) Thank you very much Chuck, you are great!
Always fun and informative!
Nice video. You're teaching skill so good.
Thanks man, really appreciate your effort.
i learn alot with the help of yous videos (sorry for my weak english)
for me you are my respectfull teacher sir
you made very good videos, thanks. And your Viking style is very unique.
Super video Chuck Your videos are awesome And informative Chuck
You are a fantastic teacher!
you never disappoint, always unique, always refreshing.... like coffee
Great video as always
Awesome job Chuck thanks
Wow! Very good and instructive video.
Hi Chuck, your energy is enough, no need for background music!!
thanks for the help it help my every thing i need to install
GREAT video. I learned a lot, I think 😃. Time to mess around a bit and see what I can do with this. 🤞🤞🤞🤞🤞🤞!!
Excellent video mate 👍🏻
Thanks bro, much appreciated.
Still working as of today! Thank you!
Love your videos, mate!
Can one use a bash scripta to target gpioˋs on the rasberry pi?
Very useful tutorial, thanks!
Great video as always! I'd love to see docker swarm on a cluster in action and hear your opinion if compared to K8S.
Lmao, I watched this just a day before I got into a Docker interview. I aced it!
For me, Docker compose was indistinguishable from magic. Thanks for this stone Chuck, I'll be adding it to my gauntlet.
I downscaled from a full Proxmox server running several VMs to a nice little Docker host running a bunch of containers. So much more flexible for my use case (bunch of small services and maintenance hosts).
my brain in love with networkchuck teaching
the way he send information is like TCP protocol
Hey man, It works great and without any problems.
amazing!! thank you very much, you helped me a lot. Everything cristal clear.
Your TH-cam Thumbnails are some of the best
Great vid! Thanks for making it
amazing stuff!! I have been looking for something similar to this on docker compose. Thanks!
👆👆👆🇺🇸🇺🇸.
podman i think
YES! I really REALLY want... No I NEED to learn Docker better. Thanks Chuck!! Keep em comming!
Guys like you should never get sick..should never feel sad... should never DIE ❤️💫
No idea how you do it but REGULARLY I will think to myself “hey I want to learn XYZ thing”. BOOM, the next day you come out with a video about XYZ thing. It’s beautiful😂
👆👆👆🇺🇸🇺🇸..
It worked! Tank you sir.
i get so happy when stuff works with WSL. ive never liked using linux as my main os so being able to do stuff with wsl is amazing
👆👆👆🇺🇸🇺🇸..
It's amazing that Chuck has all the hair he has considering all the coffee he drinks
Bro can you please help on how to become a job ready ethical hacker? Do you need a degree or not? How much time do you need, what kinda languages you gotta learn.. Please make a video on this
This is so awesome!!
Thank you so much for this awesome video.
My favourite video youtube right now.
Máster, thanks for spreading your knowledge all around.
Wanted to make a request of Kafka apache to learn It right now!!
Thanks to all !!