Docker - Filling disk space (urgent issue)

Wappler Version : 4.2.0
Operating System : Mac (M1)
Server Model: NodeJS
Database Type: MySQL
Hosting Type: AWS Docker

This may be something specific to my project but I have found my web service coming to a grinding halt because of low disk space. I thought initially that the sudo docker system prune command may resolve it, and to some degree it did but I’m now finding that the space on a 16GB HDD has completely filled

This is a project where the DB is remote (AWS RDS) and the Web Server is only using <500MB
image
(inc. all uploads folders)

As you can see, the docker folder has grown to 12GB and one specific container is using 10GB of that.

I was wondering if the introduction of real-time logs in a recent update might be filling the container.

How can I resolve this? As I say, the usual prune command has little effect!

See:

OK. Narrowing this down, there is a HUGE log in the web container:

As I said in the original post, I have tried the prune command :wink:

I see, well for the log there are other options.

Thanks George - panic over! Is there a reason why the default docker build doesn’t limit the log size or have an option to choose a desired size?

Well you should ask the docker makers about that … seems like a bad default choice to me too.

1 Like

If the Docker-compose file is created by Wappler, could you not add the relevant settings to limit logging?

Yes we plan to do so, there are just so many options.

3 Likes

A cleanup button has been added to Wappler 4.4.2