I am running the Docker container version of HA on a Raspberry Pi running the DietPi OS. DietPi OS has a default setup placing /var/log in a RAM disk to limit writes to the Micro SD card (thus extending its lifetime).
At present, log files reside in the root container directory. If log files resided in a subdirectory like /etc/homeassistant/log, then I could use the Volumes switch on the Docker run command line to move that subdirectory to the /var/log host directory and take advantage of the RAM disk. This feature could save my Micro SD card from quickly using up its limited number of writes.