Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于启动失败的问题 #12

like98k opened this issue Mar 14, 2019 · 3 comments


None yet
3 participants
Copy link

commented Mar 14, 2019

git clone
cd w12scan
docker-compose up -d


ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.



This comment has been minimized.

Copy link

commented Mar 14, 2019



This comment has been minimized.

Copy link

commented Mar 14, 2019


8dca7c4930be        w12scan_web                     "/opt/w12scan/docker…"   7 seconds ago       Exited (1) 5 seconds ago


`PS C:\Users\Administrator\PycharmProjects\w12scan> docker logs 8dca7c4930be
standard_init_linux.go:207: exec user process caused "no such file or directory"`

因为windows上git pull的代码,w12scan\dockerconf\start.sh的脚本格式是dos的,需要转换下,我是上传的linux服务器,用dos2unix转换的,转换完替换windows上的脚本,docker rmi之前构建的镜像,再一次运行docker-compose up就ok了


This comment has been minimized.

Copy link

commented Mar 19, 2019


@boy-hack boy-hack closed this Mar 21, 2019

@boy-hack boy-hack referenced this issue May 17, 2019


没办法运行 #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.