在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:docker/compose开源软件地址:https://github.com/docker/compose开源编程语言:Go 95.9%开源软件介绍:Docker Compose v2Docker 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: About update and backward compatibilityDocker Compose V2 is a major version bump release of Docker Compose. It has been completely rewritten from scratch in Golang (V1 was in Python). The installation instructions for Compose V2 differ from V1. V2 is not a standalone binary anymore, and installation scripts will have to be adjusted. Some commands are different. For a smooth transition from legacy docker-compose 1.xx, please consider installing compose-switch to translate Where to get Docker ComposeWindows and macOSDocker Compose is included in Docker Desktop for Windows and macOS. LinuxYou can download Docker Compose binaries from the release page on this repository. Rename the relevant binary for your OS to Or copy it into one of these folders for installing it system-wide:
(might require to make the downloaded file executable with Quick StartUsing Docker Compose is basically a three-step process:
A Compose file looks like this: services:
web:
build: .
ports:
- "5000:5000"
volumes:
- .:/code
redis:
image: redis ContributingWant to help develop Docker Compose? Check out our contributing documentation. If you find an issue, please report it on the issue tracker. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论