Docker error

Suddenly the remote deployment of a page no longer works
I definitely made a mistake but then immediately went back to the previous code, but now I can’t get rid of the problem anymore
Maybe I need to delete some caches?

`=> [internal] load .dockerignore 0.0s

[internal] load build definition from Dockerfile:


failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to resolve dockerfile: failed to build LLB: failed to prepare zex6cjswehs086amj75zpf884: mkdir /var/lib/docker/overlay2/zex6cjswehs086amj75zpf884: no space left on device
Error Launching Services!`

Hi. With Docker, every new deployment that you do, leaves some files/images/containers on the server, gradually eating away your storage.
Every few days, you should run the command docker system prune which clear out all that unused data.
Try SSH-ing to your server, run the command to free up some space, and then deploy again.

Also a good idea to keep applying updates to the system & restart it once in a while.

1 Like

from terminal I ran the command docker system prune, and now everything is fine
Is there a command to know the space occupied by docker on the server?
Thank you very much

Hi Marzio,
See here:

2 Likes

A cleanup button has been added in Wappler 4.4.2

1 Like