Confuso sulla terminologia di "immagine" - pulizia / eliminazione di "base" / repository

Hello! I’m confused on the terminology used in the instructions for cleaning up space.

I recently ran out of space on my 25GB droplet. Searching through here, I ran the launcher cleanup command, and got back a few GB. I did NOT delete “uncontainerized” images (I think that was the term presented in the console). Are those pictures (I want to keep all pictures!) or are those old discourse installation packages?

[Background: the forum has been converted to Discourse from Vbulletin – and there are lot of pictures that did not transfer correctly, and appears to have been stored in a separate section, if I’m remembering the conversation I had with the installer service - I’m afraid that cleanup process was asking to delete those]

Does that “uncontainerized image” option presented during the cleanup process remove these old files shown in this screenshot below? “discourse/base”.

I see that it says “TYPE: Images - taking up >30GB”. I’m inclined to believe that these are NOT referring to the pictures, but I would like to be certain.

If not, is the only thing I’m missing to try is

apt-get autoclean
apt-get autoremove

?

Thank you in advance for helping a guy that grew up on HTML and has been totally out of the game. :slight_smile:

25GB is just barely enough. If you have many images you’re going to have trouble. The easy thing is to get a bigger droplet. The next-easiest thing is to add a data “volume” and put the images there. Just how to do that requires some knowledge about unix filesystems and docker mounts.

There are several ways–put the extra space at /mnt/whatever-they-giveyou and then copy the images from /var/discourse/shared/standalone/uploads to the extra space and then adjust the app.yml to use that path for /shared/uploads.

The safe way to do it would be to spin up a new droplet so if something goes wrong you haven’t trashed your site.

1 Mi Piace