-
Notifications
You must be signed in to change notification settings - Fork 281
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中难以运行 #73
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用Alpine镜像启动会提示
经查,
shuttle/extension/config/config_path_linux.go
Line 10 in e7b367e
中
user.Current()
依赖 "$USER" 环境变量,一般docker环境并无这个环境变量,所以会报错;如果
ShuttleHomeDir
变量仅在upgrade的时候使用,能否在upgrade的时候再手动调用相关函数,不写在init()
中?shuttle/extension/config/config_path.go
Line 12 in e7b367e
同时给出一个临时的解决方法:
在Docker container 中添加一个环境变量
USER=root
The text was updated successfully, but these errors were encountered: