Noatime in docker

Is it possible to define Noatime inside the docker container?

Why do you need that?

Reduce write operations. With atime enabled every garbage collection execution will update the atime of every file. That will consume some unessesary write operations.

2 Likes

Then perhaps you need to use a btrfs docker driver. Never tried.

Is there a need to handle this at the Docker level? You should be able to handle this at the filesystem level, typically as a mount option.

2 Likes