If you have watched my video about “docker explained simply”, we will now have a look at how to easily manage multiple Docker containers with just one simple configuration file. We will deploy a simple web server and database.
Docker-compose documentation: https://docs.docker.com/compose/
Install docker-compose: https://docs.docker.com/compose/install/
________________
BECOME A MEMBER AND BE A CODE HERO!
šØļø Get Help & Chat: https://discord.com/invite/bz2SN7d
š„³ Support me: https://www.youtube.com/channel/UCZNhwA1B5YqiY1nLzmM0ZRg/join
________________
AWESOME COURSES & TRAINING:
šØāš ITProTV-*: https://itpro.tv/thedigitallife
________________
HOST YOUR APPS & SERVERS:
š§ DigitalOcean-*: https://m.do.co/c/e9f31a8c7756
________________
FOLLOW ME EVERYWHERE:
š¦ Twitter News: https://twitter.com/christian_tdl
š· Instagram Vlog: https://instagram.com/christian_tdl
šØāš» GitHub Projects: https://github.com/xcad2k
š® Gaming and Coding: https://twitch.tv/The_Digital_Life_
š Read my Blog: https://www.the-digital-life.com
________________
OTHER COOL STUFF:
š„ļø My Equipment: https://kit.co/thedigitallife
š Geek Merch: https://the-digital-life-store.creator-spring.com/
________________
ā±ļø TIMESTAMPS:
00:00 – Introduction
01:29 Get started with docker-compose.yaml
03:29 Versioning in docker-compose files
04:40 Deploy a simple webserver with docker-compose
11:30 Add more containers like database
17:00 Remove all docker containers from docker-compose file
18:03 Summary
—-
All links with “*” are affiliate links.
source
All your video tutorials are so good, you explain all the functions of each line or code, etc.Thank you.
Great example
Like the background theme,please share the music
Very understandable explanation.
Hi Christian. Thanks for the awesome work you do!
I followed many of your videos, and they helped me a lot.
If you have time to answer my question, that would be great, because I can't find a solution for my problem in Docker-Swarm.
I've installed "Ghost CMS" on Docker Swarm, along with NGINX-Proxy-Manager. Everything works as expected, except the Ghost CMS.
When I deploy Ghost as a service with multiple instances, I can't login. I get to the login page, put the user & pw and hit enter, and I'l get thrown back to the login screen once again. This does not happen if I deploy Ghost with only 1 instance, either as a service or container. I have a NFS share for the Worker Nodes & the Master, so they can access all the same data of Ghost.
Do you have any Idea for me Christian? š
Have a great day and continue your fantastic job here on YT.
Thanks cheers…
really good video! thank you !
Nice video, dude!
U the best broo
Thank you, just beginner, I have more to learning ! š
Hi, thanks for your videos, they are awesome. I have a question in general about docker-compose…if I want to spin up two different Nextcloud instances that have access to the same database application but different DB names, how would that look? Can I just add this to the compose file with different names?
Thanks a lot!!
Very Nice , I am trying to create a container with OMV docker images. please suggest
Man,you made it so simple!! Thanks
Š”ŠæŠ°ŃŠøŠ±Š¾! Š¢Ń Š»ŃŃŃŠøŠ¹!
superb. Thank you for creating this tutorial.
Ive playing with docker for past 1 month. This video definitely had help me understand better what those lines means. Now i know how to create docker compose for docker container that the dev team doesn't provide one. Appreciate your video
Do you need Docker-compose to run a docker container? I managed to get Portainer up and running without installing Docker-compose. Could that be something new?
Also heard that Kubernetes now comes with a very minimal way of running Docker…
pywintypes.error: (2, 'CreateFile', 'The system cannot find the file specified.')
During handling of the above exception, another exception occurred:
dont ask me to subscribe before I've watched your video.
[docker_entrypoint:crit] [pid 1] DOCKER: mkdir /data/etc: permission denied š DOCKER ist so GEIL
Subscribed!!