Public
Authored by Matija Obreza

Docker cleanup

From https://github.com/moby/moby/pull/26108

docker container prune
docker volume prune
docker image prune -a

The prune command exists for containers, volumes and entire system.

mariadb binlog cleanup

See https://mariadb.com/kb/en/library/using-and-maintaining-the-binary-log/

  1. Run SHOW SLAVE STATUS on mariadb_slave
  2. Purge binlogs on mariadb_master
Edited
docker-cleanup.sh 87 Bytes
  • aufs driver doesn't clean up after containers are stopped. It will eventually fill all available disk space.

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment