Container Update is incomplete - add image prune #833
                  
                    
                      MazziaRick
                    
                  
                
                  started this conversation in
                Feature Request
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Feature Request Type
API
🔖 Feature description
At the moment the update button executes the following terminal commands :
In this way the update life-cycle is incomplete because old images, no more used by containers, remains on the host file system progressively filling up the disk space.
✔️ Solution
I think the next command that should be added on the update process is this :
docker image prune --all --forceThe update maintenance life-cycle is then complete.
❓ Alternatives
An alternative could be to add a prune button on the UI, but this would require a manual action beside the Update one.
📝 Additional Context
Here the modified update function on backend/stack.ts :
I also created a pull request for this : #834
Beta Was this translation helpful? Give feedback.
All reactions