mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-25 14:38:54 +00:00
c71cf6a731
数据卷相对路径必须以 . 或 .. 开头,否则会被认为是卷名称,由于存在 “/” 会提示:ERROR: haproxy/haproxy.cfg includes invalid characters for a local volume name, only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed 参考来源:https://docs.docker.com/compose/compose-file/ You can mount a relative path on the host, which will expand relative to the directory of the Compose configuration file being used. Relative paths should always begin with . or ... |
||
---|---|---|
.. | ||
commands.md | ||
install.md | ||
intro.md | ||
README.md | ||
usage.md | ||
yaml_file.md |
Docker Compose 项目
Docker Compose 是 Docker 官方编排(Orchestration)项目之一,负责快速在集群中部署分布式应用。
本章将介绍 Compose 项目情况以及安装和使用。