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镜像报错 #53

Open
1chuci opened this issue Aug 15, 2024 · 3 comments
Open

构建docker镜像报错 #53

1chuci opened this issue Aug 15, 2024 · 3 comments

Comments

@1chuci
Copy link

1chuci commented Aug 15, 2024

1
2
3

@ProudMuBai
Copy link
Owner

可能是服务器架构或者镜像拉取失败导致的, 具体可以私我TG看看具体原因

@stormwasd
Copy link

用这个镜像:
golang:1.20-alpine
然后mysql和redis在启动的过程中还得提权:
privileged: true # 允许更高权限
cap_add:
- SYS_PTRACE # 或添加必要的能力

@Andrew8102
Copy link

@1chuci 不要用release里的包,直接下载最新的包就可以了,release里的包还没有debug过

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

4 participants