Suggestion: Add Remove unused Docker images and volumes (optional) to the upgrade guide.
#23717
Replies: 2 comments
-
|
If we are also using Docker for purposes other than Dify, those commands could cause serious data loss in environments unrelated to Dify. I don't think we should easily include commands that could affect non-Dify environments in our instructions and let people run them without caution. What do you think? Since this is general Docker knowledge, not something specific to Dify, maybe we shouldn't include it in the main steps at all—or, if we mention it, perhaps it would be better to add it as a note or troubleshooting topic outside the step-by-step guide. |
Beta Was this translation helpful? Give feedback.
-
Thank you, @kurokobo |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I had been upgrading my server from 1.0.0a, and when I upgraded it from 1.6.0 to 1.7.1 following the 1.7.1 Upgrade Guide (the usual procedure), it failed to start.
Checking the log with
docker logs docker-db-1, I found that it saidNo space left on device.I asked the generation AI how to resolve the issue, and by deleting unused Docker images and volumes, I was able to successfully start the server.
2. Additional context or comments
Would you like to make the following changes to the upgrade guide steps in the release notes?
Remove unused Docker images and volumes (optional).git checkout maintogit switch main.(example)
Upgrade Guide
Docker Compose Deployments
Back up your customized docker-compose YAML file (optional)
Get the latest code from the main branch
Stop the service. Please execute in the docker directory
Back up data
Remove unused Docker images and volumes (optional)
Upgrade services
3. Can you help us with this feature?
Beta Was this translation helpful? Give feedback.
All reactions