提交 31f814ac 编写于 作者: 想要腹肌的熊's avatar 想要腹肌的熊

fix: docker-compose.yml ";" -> ":"

命令行启动:
docker run -d --name test_zookeeper -p 2181:2181 -e ZOO_MY_ID=1 -e ZOO_SERVERS=server.1=zoo1:2888:3888;2181 -h zoo1 zook
eeper:3.9.0

报错信息:
"docker run" requires at least 1 argument.
See 'docker run --help'.

Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Create and run a new container from an image
zsh: command not found: 2181
上级 cd70fe1e
......@@ -10,4 +10,4 @@ services:
- 2181:2181
environment:
ZOO_MY_ID: 1
ZOO_SERVERS: server.1=zoo1:2888:3888;2181
\ No newline at end of file
ZOO_SERVERS: server.1=zoo1:2888:3888:2181
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册