You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@Centos7 ~]# docker-compose --version
docker-compose version 1.24.1, build 4667896b
[root@Centos7 ~]# mkdir qinglong
mkdir: 无法创建目录"qinglong": 文件已存在
[root@Centos7 ~]# cd qinglong/
[root@Centos7 qinglong]# ls
[root@Centos7 qinglong]# touch docker-compose.yml
[root@Centos7 qinglong]# vi docker-compose.yml
[root@Centos7 qinglong]# docker-compose up -d
ERROR: In file './docker-compose.yml', the service name True must be a quoted string, i.e. 'True'.
[root@Centos7 qinglong]#
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
[root@Centos7 ~]# docker-compose --version
docker-compose version 1.24.1, build 4667896b
[root@Centos7 ~]# mkdir qinglong
mkdir: 无法创建目录"qinglong": 文件已存在
[root@Centos7 ~]# cd qinglong/
[root@Centos7 qinglong]# ls
[root@Centos7 qinglong]# touch docker-compose.yml
[root@Centos7 qinglong]# vi docker-compose.yml
[root@Centos7 qinglong]# docker-compose up -d
ERROR: In file './docker-compose.yml', the service name True must be a quoted string, i.e. 'True'.
[root@Centos7 qinglong]#
docker -compose.yml
version: '2'
services:
web:
image: whyour/qinglong:latest
volumes:
- ./data/config:/ql/config
- ./data/log:/ql/log
- ./data/db:/ql/db
- ./data/scripts:/ql/scripts
- ./data/repo:/ql/repo
ports:
- "0.0.0.0:5700:5700"
environment:
- ENABLE_HANGUP=true
- ENABLE_WEB_PANEL=true
restart: always
求助起动不了失败
Beta Was this translation helpful? Give feedback.
All reactions