Skip to content

Commit

Permalink
docs(operators/docker): add docker prune
Browse files Browse the repository at this point in the history
  • Loading branch information
pschuele committed Jul 17, 2024
1 parent caa9908 commit 06f7449
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/operators/docker/tips-and-tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,13 @@ $ tail -f /var/log/mysql/error.log
On this stackoverflow question, you can find additional ways to activate error/slow.logs:

(https://stackoverflow.com/questions/39708213/enable-logging-in-docker-mysql-container)

## Docker cleanup unused volumes, images, vfs ...

Make sure that all required containers are running, and then:

~~~shell
$ docker system prune -a --volumes
~~~

see (https://stackoverflow.com/questions/44901297/how-to-clean-up-var-lib-docker-vfs-directory)

0 comments on commit 06f7449

Please sign in to comment.