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运行报错 #25

Open
BrickMoving123 opened this issue May 25, 2022 · 1 comment
Open

docker运行报错 #25

BrickMoving123 opened this issue May 25, 2022 · 1 comment

Comments

@BrickMoving123
Copy link

docker run --rm -itd --name sorryjava -e QCLOUD_ENABLE=false -p 8888:8888 sorry-java:v1.4报错
Unable to find image 'sorry-java:v1.4' locally
Pulling repository docker.io/library/sorry-java
docker: Error: image library/sorry-java:v1.4 not found.
我执行那个docker build -t sorry-java:v1.4 .的时候最后一行出现
Step 9 : COPY ./target/sorry-java-1.4.0.jar /opt/site/app.jar
lstat target/sorry-java-1.4.0.jar: no such file or directory这个

@li24361
Copy link
Owner

li24361 commented Sep 7, 2022

no such file or directory
得先打jar包
mvn clean -U package

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