Jump to content

How to delete old images??


Recommended Posts

Posted (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.

 

image.png.60d8a22d0987f2ed3eea1a4eda1546

Edited by DerTom
Link to comment

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.

Link to comment
  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...