Fixed link, document format, and grammar (#28023)
This commit is contained in:
committed by
Randell Dawson
parent
b8aa04fc3c
commit
ce5af168e4
@ -2,21 +2,17 @@
|
|||||||
title: Docker compose
|
title: Docker compose
|
||||||
---
|
---
|
||||||
|
|
||||||
## Docker compose
|
## Docker Compose
|
||||||
|
|
||||||
Docker-Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services.
|
Docker Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application's services.
|
||||||
|
|
||||||
The steps to use docker-compose are
|
The steps to use docker-compose are:
|
||||||
|
|
||||||
```
|
1. Create a Dockerfile which defines the image and can be producible everywhere.
|
||||||
1)Create a Dockerfile which defines the image and can be producible everywhere
|
|
||||||
```
|
2. Create a docker-compose yml file to run the services.
|
||||||
```
|
|
||||||
2)Create a docker-compose.yml file to run the services
|
3. Use docker-compose up to start the sevices specified in docker-compose.yml file.
|
||||||
```
|
|
||||||
```
|
|
||||||
3)Use docker-compose up to start the sevices specified in the docker-compose.yml file
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Basic commands in docker-compose
|
#### Basic commands in docker-compose
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user