Closed fatebugs closed 9 months ago
There's a lot here (and a language barrier - unfortunately we're an all-English project and relying on in-browser Translate to even read this :bow:), so here are the top two biggest issues I see:
openjdk:11-jre
is long-since deprecated and not updated, so I'd highly recommend against using it (see the notice at the top of https://hub.docker.com/_/openjdk)
your Dockerfile
seems to be mixing Windows paths and Linux behavior/commands -- if you want Windows containers, you'll want to make sure you're explicitly using Windows commands and a Windows base image (on a Windows Docker daemon), but if you want Linux containers, you'll want to adjust all those paths in the image/Dockerfile
to be Linux paths (and only use Windows paths on the left-hand-side of your bind mount in your docker-compose.yml
)
你好,在我使用docker-compose.yml来进行部署Windows docker时会出现乱码的情况,类似于修改启动参数来指定字符集和使用CMD来重新设置chcp 65001来指定utf-8,这些依然不能解决问题,请问我应该怎么设置呢
附上我的dockerFile与docker-compose