Deploying the containerized application with Docker Compose || Docker Tutorial 12

preview_player
Показать описание
How to deploy your containerized application with Docker Compose.

In this video I show how to deploy an application, which we built before in a docker image. So, after you package your application in a docker image and save it in a private repository you need to deploy it on some server. In this video I use docker compose to deploy the application.

This is the last video of the "Docker in Practice" video series:

You can check out my videos for the Pre-Requisites:

For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.

This video is the 12th of a complete series for beginners, where I explain the basic concepts and also show you demo's like deploying your containerized application. At the end of this tutorial you will fully understand Docker and Kubernetes.

💡 Only interested in Docker?

#docker #dockertutorials #devops #techworldwithnana
-------------------------------------------------------------------------------------

The complete step-by-step guide to Docker and Kubernetes will include the following content:

🐳 D O C K E R
- Container concept
- Why docker? (image vs. traditional DevOps)
- Install docker on different operating systems
- 8 basic commands you need to know
- Docker vs. Virtual Machine
- Docker in Practice: Overview of whole development process with Docker (development, continuous delivery, deployment)
- Develop an application with Docker
- Docker Compose
- Dockerfile
- Private Repository
- Deploying your containerized application
- Docker Volumes from theory to practice

✵ K U B E R N E T E S
- Main Kubernetes components (including Pod, Service, Ingress, Volumes, ConfigMap, Secrets, Deployment, StatefulSet)
- Kubernetes architecture for beginners (master, slave nodes & processes)
- Understand how does K8s REALLY work? Main Concepts of how to use K8s
- Minikube, Kubectl - set up the cluster and connect to it
- Kubectl main commands - Demo
- Configuration file (YAML) - syntax
- Kubernetes Namespaces
- Communication between the pods - basic networking concepts in Kubernetes
- K8s Deployment in practice - example application deployment (pod + service + Ingress + secret)

-----------------------------------------------------------------------------------

✅ Follow me

Legal Notice:
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Docker, Inc.
Рекомендации по теме
Комментарии
Автор

Hi Nana,
This is Mr.B from India. I'm watching your video course Docker and Kubernetes beginners from the start. Your way of teaching very good and you going slowly. So, I can able to understand easily. Please include more in-depth knowledge about Kubernetes, Jenkins, customization, and real-time scenarios which helps me to day-to-day work in my company. Also, please include real-time troubleshooting and problem-solving issues. This helps a person like me who started a beginner as a DevOps Engineer.

Mr.Btraveller
Автор

You are running that container on localhost. That's what I could see in the URL. I thought the video showed how to upload it to a real production environment.

nathenn
Автор

So nice explanations. Dummies even can understand. Thanks for videos Nana!

nuranamirzaghayeva
Автор

Like your way of explaining things. Thanks a ton

balasubramaniam
Автор

That was great. Thank you for this useful education

yummywithali
Автор

Great video Nana !! Appreciated. I wish you do one docker- compose with app/db dependency and wait time, and with Volume Mount. Thanks again for sharing your knowledge. Mat.

mathewkargarzadeh
Автор

great Nana, very instructif, very intuitif video, you are AWESOME. Thanks Nana

FathyTekitek
Автор

Great, Got clear picture of the development workflow. Thanks 👍👍

nadunsamarasinghe
Автор

I can't thank you hard enough for such a video!

murad_albarki
Автор

weird, I have mine in an azure container registry instead of AWS. after running docker-compose up, the two mongo containers started fine, but the node container fails over db login issues. but if I just docker start <containerid> it fires right up.

marctowersap
Автор

Hi Nana, great video as usual. Have you done any tutorial on using Jenkins to create a docker image and push it to AWS? Thanks

bhaidar
Автор

At 8:08 you mention don't need to use the localhost:port in app because the hostname and port number are already defined in the docker-compose under the service name. However, i can't see where is the hostname defined in the docker-compose?
I do see the ports defined as 27017:27017 though. Just to confirm, the code in node app is connecting to the 27017 on the right, not left side of the colon right, which is the port of the mongodb in the container?

Han-veuh
Автор

At the end i realized, author is beautiful :-)

thevijayraj
Автор

can we push a complete container to a virtual machine in another environment? like a VM running in a DigitalOcean environment.

HindiTechClub
Автор

Can we update docker container memory and CPU in online, while container is running?

srujanareddy
Автор

@nana
one question --> How to push docker compose file to docker hub.

Any one can help me? It would be great help for me. Thanks in advance.

niant
Автор

before learning docker any prerequisite is necessary?

dhanwadc
Автор

Where exactly is the application deployed anywhere?

SK-ybbx
Автор

I have a scenario Nana. I have 2 branches in gitlab. development and master. development is the develop environment and I want to run it at a subdomain of my project. ex. develop.example.com.
i want to run all of these on docker and with CD/CD in gitlab. How can I integrate this scenarion in my project?
How can I say docker or jenkins to build for example develop and master seperately?

yummywithali
Автор

0:00 - Initial Overview of what you learn
0:59 - Diagram of what we learned so far
1:51 - Finish the Docker Compose File
8:34 - Recap of the complete workflow with Docker


👉🏼 For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
👉🏼 Also please let me know what you want to learn about Docker & Kubernetes.


Please don't forget to subscribe and give me a thumbs up if you liked my video 🤓

TechWorldwithNana