filmov
tv
What is Docker Compose | How to create docker compose file | How to use Compose

Показать описание
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
: 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
2. Using PIP
pip install -U docker-compose
Step 2 : Create docker compose file at any location on your system
Step 3 : Check the validity of file by command
docker-compose config
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:
_____________________________________________________________
#DockerCompose #DockerComposeIntroduction #DockerContainers #DockerTutorials #DockerTraining #DevOpsTools #DevOpsTraining #DockerCommands #DockerForBeginners #DockerFreeTutorials #DockerforDevOps
DOCKER PLAYLIST
YOUTUBE PLAYLIST
YOUTUBE
FACEBOOK
TWITTER
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.
------------ Follow ------------
Share your knowledge with everyone and,
Never Stop Learning
Raghav
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
: 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
2. Using PIP
pip install -U docker-compose
Step 2 : Create docker compose file at any location on your system
Step 3 : Check the validity of file by command
docker-compose config
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:
_____________________________________________________________
#DockerCompose #DockerComposeIntroduction #DockerContainers #DockerTutorials #DockerTraining #DevOpsTools #DevOpsTraining #DockerCommands #DockerForBeginners #DockerFreeTutorials #DockerforDevOps
DOCKER PLAYLIST
YOUTUBE PLAYLIST
YOUTUBE
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.
------------ Follow ------------
Share your knowledge with everyone and,
Never Stop Learning
Raghav
Комментарии