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

求助。。镜像构建成功,但是docker启动的时候报错 #28

Closed
CharlesTHN opened this issue Oct 6, 2020 · 1 comment
Closed

Comments

@CharlesTHN
Copy link

CharlesTHN commented Oct 6, 2020

启动命令:
docker run -p 58081:8080 -e SPRING_DATASOURCE_URL="jdbc:mysql://:3306/davinci0.3?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true"
-e SPRING_DATASOURCE_USERNAME="root" -e SPRING_DATASOURCE_PASSWORD="root"
-e SPRING_MAIL_HOST="smtp.qq.com" -e SPRING_MAIL_PORT="465" -e SPRING_MAIL_PROPERTIES_MAIL_SMTP_SSL_ENABLE="true"
-e SPRING_MAIL_USERNAME="[email protected]" -e SPRING_MAIL_PASSWORD="
"
-e SPRING_MAIL_NICKNAME="davinci_sys"
edp963/davinci:v0.3.0-beta.9

报错信息:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "./bin/start-server.sh": stat ./bin/start-server.sh: no such file or directory": unknown.
ERRO[0000] error waiting for container: context canceled

@cabbage89
Copy link
Collaborator

windows上需要把 sh文件转为 linux文件换行符,再构建

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants