|
|
4 년 전 | |
|---|---|---|
| .github | 4 년 전 | |
| cmd | 4 년 전 | |
| docs | 4 년 전 | |
| internal | 4 년 전 | |
| packaging | 5 년 전 | |
| pkg | 4 년 전 | |
| scripts | 4 년 전 | |
| .dockerignore | 4 년 전 | |
| .gitattributes | 5 년 전 | |
| .gitignore | 4 년 전 | |
| .golangci.yml | 4 년 전 | |
| BUILDING.md | 4 년 전 | |
| CONTRIBUTING.md | 4 년 전 | |
| Dockerfile | 4 년 전 | |
| LICENSE | 5 년 전 | |
| MAINTAINERS | 4 년 전 | |
| Makefile | 4 년 전 | |
| NOTICE | 4 년 전 | |
| README.md | 4 년 전 | |
| builder.Makefile | 4 년 전 | |
| go.mod | 4 년 전 | |
| go.sum | 4 년 전 | |
| logo.png | 4 년 전 |
Docker Compose is a tool for running multi-container applications on Docker
defined using the Compose file format.
A Compose file is used to define how the one or more containers that make up
your application are configured.
Once you have a Compose file, you can create and start your application with a
single command: docker-compose up.
Docker Compose is included in Docker Desktop for Windows and macOS.
You can download Docker Compose binaries from the release page on this repository.
Copy the relevant binary for your OS under $HOME/.docker/cli-plugins/docker-compose
(might require to make the downloaded file executable with chmod +x)
Using Docker Compose is basically a three-step process:
Dockerfile so it can be
reproduced anywhere.docker-compose.yml so
they can be run together in an isolated environment.docker-compose up and Compose will start and run your entire
app.A Compose file looks like this:
services:
web:
build: .
ports:
- "5000:5000"
volumes:
- .:/code
redis:
image: redis
Want to help develop Docker Compose? Check out our contributing documentation.
If you find an issue, please report it on the issue tracker.