DerTom Posted May 12 Share Posted May 12 (edited) Hi! I'm fighting with a container and would like to delete every downloaded image while pulling this container. I would like to get rid of the message (already exists)! I tried 'docker image prune -a' and 'docker image prune -a -f' but this did not do it. Adding options '--no-cache' or '--pull' did not work also. How do I delete this old images? At which location are this already downloaded images stored? Kind regards, I would like to have every image with a new pull. Edited May 12 by DerTom Quote Link to comment
JonathanM Posted May 12 Share Posted May 12 They are stored inside the docker.img file. You can delete and recreate it empty, and all layers will be downloaded fresh. If you have any custom networks, make sure you recreate those before you pull any containers that reference them. Quote Link to comment
Kilrah Posted May 12 Share Posted May 12 I don't think that'll help, the error is about an invalid character in one of the new layers being extracted. To explain the workings, many layers are shared between containers, to remove them you'd have to remove every container that uses them. I.e. you'd want to start by removing all LSIO containers since they're specifically designed to share layers. Quote Link to comment
DerTom Posted May 26 Author Share Posted May 26 @JonathanM @Kilrah Thank you for your help! The container has been updated and the error is gone! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.