What is Docker Compose | How to create docker compose file | How to use Compose
Free Tutorials - https://automationstepbystep.com/
I am Raghav & Today we will learn :
1. What | Why - Docker Compose
2. How to install
3. How to create docker compose file
4. How to use docker compose file to create services
5. Basic Commands
TIPS
Docker compose
: tool for defining & running multi-container docker applications
: use yaml files to configure application services (docker-compose.yml)
: can start all services with a single command : docker compose up
: can stop all services with a single command : docker compose down
: can scale up selected services when required
Step 1 : install docker compose
(already installed on windows and mac with docker)
docker-compose -v
2 Ways
1. https://github.com/docker/compose/releases
2. Using PIP
pip install -U docker-compose
Step 2 : Create docker compose file at any location on your system
docker-compose.yml
Step 3 : Check the validity of file by command
docker-compose config
Step 4 : Run docker-compose.yml file by command
docker-compose up -d
Steps 5 : Bring down application by command
docker-compose down
TIPS
How to scale services
—scale
docker-compose up -d --scale database=4
References:
https://hub.docker.com
https://github.com/docker/compose/releases
https://docs.docker.com/compose/compose-file/
https://www.google.co.in/search?q=microservices+example&rlz=1C5CHFA_enIN734IN734&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjE3LPQqYfcAhXGpY8KHQHmB4gQ_AUICigB#imgrc=4466IjbSng_wcM:
_____________________________________________________________
#DockerCompose #DockerComposeIntroduction #DockerContainers #DockerTutorials #DockerTraining #DevOpsTools #DevOpsTraining #DockerCommands #DockerForBeginners #DockerFreeTutorials #DockerforDevOps
DOCKER PLAYLIST
https://www.youtube.com/playlist?list=PLhW3qG5bs-L99pQsZ74f-LC-tOEsBp2rK
YOUTUBE PLAYLIST
https://www.youtube.com/channel/UCTt7pyY-o0eltq14glaG5dg/playlists
YOUTUBE
https://www.youtube.com/automationstepbystep
FACEBOOK
https://www.facebook.com/automationstepbystep
TWITTER
https://twitter.com/automationsbs
If you like videos on the channel Automation Step by Step, hit the like button and share with others.
Click the SUBSCRIBE button and hit the bell icon to keep getting new videos.
Ask Raghav- https://bit.ly/2CoJGWf
Interviews - https://bit.ly/2NIPPxk
All Playlists - https://bit.ly/2LSiezA
------------ Follow ------------
Facebook - https://www.facebook.com/automationstepbystep
Twitter - https://twitter.com/automationsbs
Youtube - http://youtube.com/automationstepbystep
Видео What is Docker Compose | How to create docker compose file | How to use Compose канала Automation Step by Step - Raghav Pal
I am Raghav & Today we will learn :
1. What | Why - Docker Compose
2. How to install
3. How to create docker compose file
4. How to use docker compose file to create services
5. Basic Commands
TIPS
Docker compose
: tool for defining & running multi-container docker applications
: use yaml files to configure application services (docker-compose.yml)
: can start all services with a single command : docker compose up
: can stop all services with a single command : docker compose down
: can scale up selected services when required
Step 1 : install docker compose
(already installed on windows and mac with docker)
docker-compose -v
2 Ways
1. https://github.com/docker/compose/releases
2. Using PIP
pip install -U docker-compose
Step 2 : Create docker compose file at any location on your system
docker-compose.yml
Step 3 : Check the validity of file by command
docker-compose config
Step 4 : Run docker-compose.yml file by command
docker-compose up -d
Steps 5 : Bring down application by command
docker-compose down
TIPS
How to scale services
—scale
docker-compose up -d --scale database=4
References:
https://hub.docker.com
https://github.com/docker/compose/releases
https://docs.docker.com/compose/compose-file/
https://www.google.co.in/search?q=microservices+example&rlz=1C5CHFA_enIN734IN734&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjE3LPQqYfcAhXGpY8KHQHmB4gQ_AUICigB#imgrc=4466IjbSng_wcM:
_____________________________________________________________
#DockerCompose #DockerComposeIntroduction #DockerContainers #DockerTutorials #DockerTraining #DevOpsTools #DevOpsTraining #DockerCommands #DockerForBeginners #DockerFreeTutorials #DockerforDevOps
DOCKER PLAYLIST
https://www.youtube.com/playlist?list=PLhW3qG5bs-L99pQsZ74f-LC-tOEsBp2rK
YOUTUBE PLAYLIST
https://www.youtube.com/channel/UCTt7pyY-o0eltq14glaG5dg/playlists
YOUTUBE
https://www.youtube.com/automationstepbystep
https://www.facebook.com/automationstepbystep
https://twitter.com/automationsbs
If you like videos on the channel Automation Step by Step, hit the like button and share with others.
Click the SUBSCRIBE button and hit the bell icon to keep getting new videos.
Ask Raghav- https://bit.ly/2CoJGWf
Interviews - https://bit.ly/2NIPPxk
All Playlists - https://bit.ly/2LSiezA
------------ Follow ------------
Facebook - https://www.facebook.com/automationstepbystep
Twitter - https://twitter.com/automationsbs
Youtube - http://youtube.com/automationstepbystep
Видео What is Docker Compose | How to create docker compose file | How to use Compose канала Automation Step by Step - Raghav Pal
Показать
Комментарии отсутствуют
Информация о видео
9 июля 2018 г. 20:30:01
00:18:23
Другие видео канала
![What is Docker Volume | How to create Volumes | What is Bind Mount | Docker Storage](https://i.ytimg.com/vi/VOK06Q4QqvE/default.jpg)
![Docker compose tutorial for beginners by example [all you need to know]](https://i.ytimg.com/vi/4EqysCR3mjo/default.jpg)
![Docker Compose | Containerizing MEAN Stack Application | DevOps Tutorial | Edureka](https://i.ytimg.com/vi/WZa7GsqyS3w/default.jpg)
![Docker Advanced Networking](https://i.ytimg.com/vi/Xxhhdo2e-DA/default.jpg)
![Docker Tutorial for Beginners - A Full DevOps Course on How to Run Applications in Containers](https://i.ytimg.com/vi/fqMOX6JJhGo/default.jpg)
![Docker for Beginners: Full Course](https://i.ytimg.com/vi/zJ6WbK9zFpI/default.jpg)
![What is Dockerfile | How to create and build Dockerfile | Dockerfile Basic Commands](https://i.ytimg.com/vi/LQjaJINkQXY/default.jpg)
![Docker - Demo CMD vs ENTRYPOINT](https://i.ytimg.com/vi/6lcYyo9e7-0/default.jpg)
![Docker Beginner Tutorial 1 - What is DOCKER (step by step) | Docker Introduction | Docker basics](https://i.ytimg.com/vi/wi-MGFhrad0/default.jpg)
![Kubernetes The Easy Way!](https://i.ytimg.com/vi/kOa_llowQ1c/default.jpg)
![Exploring Docker [2] - Docker Compose With Node & MongoDB](https://i.ytimg.com/vi/hP77Rua1E0c/default.jpg)
![Docker Swarm Mode Walkthrough](https://i.ytimg.com/vi/KC4Ad1DS8xU/default.jpg)
![What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps Tools | Edureka](https://i.ytimg.com/vi/lcQfQRDAMpQ/default.jpg)
![Docker Swarm| Step by Step | What is Docker Swarm | How to create Docker Swarm](https://i.ytimg.com/vi/bU2NNFJ-UXA/default.jpg)
![Microservices + Events + Docker = A Perfect Trio](https://i.ytimg.com/vi/sSm2dRarhPo/default.jpg)
![Docker for Beginners - Commands vs Entrypoint - Kubernetes](https://i.ytimg.com/vi/OYbEWUbmk90/default.jpg)
![Docker Networking | Docker bridge network deep dive | Container bridge drive](https://i.ytimg.com/vi/Tx12haz-4VA/default.jpg)
![Apache, PHP & MySql on Docker on Ubuntu](https://i.ytimg.com/vi/_mwWxgfZ7Zc/default.jpg)
![Learn Docker in 20 Minutes](https://i.ytimg.com/vi/wCTTHhehJbU/default.jpg)
![Docker Container Tutorial #10 Handling Volumes](https://i.ytimg.com/vi/pOGVngLsaX4/default.jpg)