Docker offers a temporary in-memory mount type called tmpfs. This is very useful for making services run faster.
tmpfs
We used to create a tmpfs mount for /var/lib/mysql in our CI MySQL service, as it saved some build seconds (drone/woodpecker).
/var/lib/mysql
Related docs: https://docs.docker.com/storage/tmpfs/
Docker offers a temporary in-memory mount type called
tmpfs
. This is very useful for making services run faster.We used to create a tmpfs mount for
/var/lib/mysql
in our CI MySQL service, as it saved some build seconds (drone/woodpecker).Related docs: https://docs.docker.com/storage/tmpfs/