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部署环境中,容器重新部署后数据丢失 #172

Closed
4 tasks done
suzhihao opened this issue Apr 22, 2024 · 5 comments
Closed
4 tasks done

docker部署环境中,容器重新部署后数据丢失 #172

suzhihao opened this issue Apr 22, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@suzhihao
Copy link

Describe the bug

使用docker部署,并持久化/log目录后,容器重启后/log目录下的日志文件存在,但调试端无法看到。

Steps to reproduce

No response

System Info

docker,k8s

Logs

No response

Validations

@wqcstrong
Copy link
Collaborator

新版本 v1.8.6 已修复该问题。

@wangdashuaihenshuai
Copy link
Collaborator

现在可以挂在 data 目录 还有 log 目录来持久化数据。

@suzhihao
Copy link
Author

意思是现在除了挂载/log目录还需要多挂载一个data目录才可以持久化是么?
我刚试了下只挂载log目录数据还是会丢

@wangdashuaihenshuai
Copy link
Collaborator

是的,现在数据相关的放在 data 文件夹中,日志放在 log 文件夹中。

@suzhihao
Copy link
Author

那麻烦更新下文档吧,文档和更新记录上还是老的,所以光升级版本数据还是会丢。
感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants