Verward over "image" terminologie - "base" / repository opschonen / verwijderen

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:

25 GB is net genoeg. Als je veel afbeeldingen hebt, krijg je problemen. Het makkelijkste is om een grotere droplet te krijgen. Het op één na makkelijkste is om een data “volume” toe te voegen en de afbeeldingen daar te plaatsen. Hoe je dat precies doet, vereist enige kennis van Unix-bestandssystemen en Docker-mounts.

Er zijn verschillende manieren: plaats de extra ruimte op /mnt/whatever-they-giveyou en kopieer vervolgens de afbeeldingen van /var/discourse/shared/standalone/uploads naar de extra ruimte en pas dan app.yml aan om dat pad te gebruiken voor /shared/uploads.

De veilige manier zou zijn om een nieuwe droplet op te starten, zodat je je site niet verpest als er iets misgaat.

1 like

Het spijt me dat ik niet weet waarom ik 25 GB zei, terwijl er duidelijk veel meer is op basis van de screenshot die ik heb bijgevoegd. Ik heb eigenlijk 80 GB.

Ik waardeer het antwoord @pfaffman, maar heb ik die “afbeeldingen” zoals in de screenshot nog steeds nodig? Sommige werden voor het laatst 3 jaar geleden gebruikt. Wat zijn die dingen?

Container images, not pictures. Kind of old versions of your Discourses.

Don’t stop your app before deletion and you are on safe side.

That’s what you need to do.

No. They are docker disk images.

3 likes

Ik waardeer alle reacties. Ik zal “Y” selecteren wanneer ik het commando opnieuw uitvoer. Dank u wel!

1 like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.