Back

[SOLVED] How to clean previous Appwrite installations (updates)

  • 0
  • Self Hosted
iStornZ
31 Oct, 2023, 16:01

Hi, how I proper clean my server after each Appwrite updates ?

When I execute docker images I can see all minor appwrite versions which consume at least 1Gb each.

I'm worry about executing docker images prune, is it safe? Thanks

TL;DR
The user wants to know how to properly clean their server after each Appwrite update. They are concerned about the disk space consumed by previous Appwrite versions. A solution is provided: the user can use the command `docker image ls` to list all the unwanted images and then remove them using `docker rmi appwrite/appwrite:1.4.2` (replace with the appropriate version number). It is mentioned that Docker won't let the user remove any image that is in use, so they should be careful not to break the current installation. Additionally, the user is advised to use the tool "lazydocker" for easy
Binyamin
31 Oct, 2023, 16:02

If you don't have any active installation then it's complexly safe

Binyamin
31 Oct, 2023, 16:02

Also check this

Binyamin
31 Oct, 2023, 16:03

It could help you with fast docker cleaning

iStornZ
31 Oct, 2023, 16:19

Exactly this is for a server with an active Appwrite instance running, I don't want to broke all the installation :/

Binyamin
31 Oct, 2023, 16:20

Okay, Docker won't let you remove any image that is in use

Binyamin
31 Oct, 2023, 16:21

So what I would do is to run

TypeScript
docker image ls

then remove each of the unwanted ones

TypeScript
docker rmi appwrite/appwrite:1.4.2
Binyamin
31 Oct, 2023, 16:21

And you can use the lazydocker for easy managing

iStornZ
31 Oct, 2023, 16:29

Okay perfect thanks !

iStornZ
5 Nov, 2023, 09:16

[SOLVED] How to clean previous Appwrite installations (updates)

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more