Linux serverlinux web serverNETWORK ADMINISTRATIONS

Docker Compose will BLOW your MIND!! (a tutorial)

We don’t live in Docker containers, keep yourself safe with Bitdefender Premium Security: https://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!: https://ntck.co/compose

Vulhub GitHub link: https://ntck.co/vulhub

🔥🔥Join the NetworkChuck Academy!: https://ntck.co/NCAcademy

**Sponsored by Bitdefender

SUPPORT NETWORKCHUCK
—————————————————
➡️NetworkChuck membership: https://ntck.co/Premium
☕☕ COFFEE and MERCH: https://ntck.co/coffee

Check out my new channel: https://ntck.co/ncclips

🆘🆘NEED HELP?? Join the Discord Server: https://discord.gg/networkchuck

STUDY WITH ME on Twitch: https://bit.ly/nc_twitch

READY TO LEARN??
—————————————————
-Learn Python: https://bit.ly/3rzZjzz
-Get your CCNA: https://bit.ly/nc-ccna

FOLLOW ME EVERYWHERE
—————————————————
Instagram: https://www.instagram.com/networkchuck/
Twitter: https://twitter.com/networkchuck
Facebook: https://www.facebook.com/NetworkChuck/
Join the Discord server: http://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: https://geni.us/L6wyIUj
Amazon Affiliate Store: https://www.amazon.com/shop/networkchuck
Buy a Raspberry Pi: https://geni.us/aBeqAL
Do you want to know how I draw on the screen?? Go to https://ntck.co/EpicPen and use code NetworkChuck to get 20% off!!

#docker #networking #containers

source

by NetworkChuck

linux web server

46 thoughts on “Docker Compose will BLOW your MIND!! (a tutorial)

  • Since you repeatedly tried pronouncing it 😉 MySQL is named after the inventors first daughter My (In Swedish it's phonetically closer to "mui")… pop quiz; What his second daughter is called?

  • Any video for weblogic server 12.2.4.0 containers (oracle Linux) using docker in openstack in ubuntu 22.04? I want weblogic admin servers and weblogoic managed servers on different containers

  • Im having truble with the kali container giving permission errors,how do you use it for the compose system?

  • As a newbie desperately trying to find a simple tutorial on how to use Docker I am instantly overwhelmed by this video.

  • 0:37 Hey Chuck, I am like you! And you know what else? I just kicked myself for not knowing about Docker Compose any sooner! ("Ow!, I just kicked myself and it hurts! Ow!")

  • Bro can you increase the music in the background? I couldn't listen to it clearly … Cheers

  • How does docker know not to overwrite the previously created MySQL files in the directory you mapped to when you restart (down then up again) WordPress and MySQL containers?

  • Great video as always. However I am encountering an error. docker comes up and nginx comes up, but when it tries to go to WordPress it says "error establishing database connection" I don't know if the root password is working out right.

  • Seems easy! Sure ain't! Done banging my head up against Docker and Compose for an hour. Documentation is horrendous.

  • 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.

  • Anyone know why he chooses to use MySQL instead of MariaDB? I'm curious, everywhere I look says Maria is just better.

  • But how do you know wich ports an wich images you have to choose and so .. ?

  • Docker Compose is very slow. Can you make a video how to speed up Docker Compose?

  • Is there a WAMP type program that uses Docker and manages it all visually? Like a replacement for WAMP or Laragon etc?

    Basically, I could do a bunch of this for WordPress sites, but I don't want to fart with all the ports, and sometimes I need to run many of the sites at once and don't want port conflicts. All I want to do is have a few dev sites to work on, using a standard domain name like "somesite.test" or "othersite.local" and not have to worry about the ports.

    If there is a tool that manages all that for me to run many apps at once, that would be cool.

  • I love how concise your videos are. But I can’t believe that you’re actually peddling mal^h^h^hbloatware.

  • 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!

  • Hey – I'm currently trying to run this setup here and am running into an issue with the version as I get ERROR: Version "24.0.5" in "./docker-compose.yaml" is invalid – I checked the version within the terminal and this is what I received, or do I need to put the whole "25.0.5-0ubuntu1~22.04.1" in? Recent/New watcher/subscriber and just wanted to say I love the content man

    Edit just removed the version from the top and it worked wth no issue

  • Man! you are the kind of teacher every parent dream to teach their kids! legend!

  • For some reason i have ALWAYS set up the docker in a way that i can use without sudo command. It feels just right

  • Great video. But i got an errormessage when i do the sudo docker-compose up -d, the error message is this: ERROR: The Compose file './docker-compose.yaml' is invalid because:

    'mysql' does not match any of the regexes: '^x-'

    You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1. Anyone else had this error msg? I am typing version "3".

  • 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.

  • hi chuck im trying to install isp config into a docker container along with wordpress and mysql but im having issues with isp config do you have any advice may thanks

  • networkchuck I know you need to make money but selling your soul to bitdefender isn't cool. You know that all of these all in one packages are crap. Sorry you lost points in my book.

  • i just hacked YouTube for you. :thumbsup:

  • I did a docker version and it came up with 24.10.24 and when i use that in yaml I am getting this: ERROR: Version "20.10.24" in "./docker-compose.yaml" is invalid.

    what am I doing wrong?

  • loud background music is making it really hard to watch a great content unfortunately. Maybe dial it down a notch if you can sir.

  • i followed your tutorial step by step and when i tried to run docker compose for wordpress i got database error, any ideas on how to resolve?

  • I am looking for a way to specify nfs-volumes in the docker-compose-yml, but I cant figure out how I have to do it so that it works. Do you have some tipps for me?
    I have created nfs volumes with portainer and tested that it works so I am able to create and use nfs-volumes.

  • Now it makes sense i cant get rid of my cyberstalker using containers, things ive seen…maybe i create a docker in my w11 s mode which is just a virtualized box in my hacked iot home, makes sense, never saw a windows in s mode being managed by a group policy and 30 RDP and openshh, telnet services …

  • hi @NetworkChuck is it possible to run a Operating System inside a docker compose like Windows Macos or pis images

  • Just wanted to say thanks for explaining this so clearly.

Comments are closed.