September 25, 20169 yr For my docker images, I've moved log generation to ram backed /tmp directories to save the 1 million tiny writes/day from my SSD. Works great until I reboot. After a reboot, the directories are created by Docker, but have the wrong ownership/perm preventing the containers from writing to them properly and crashing them. So far I have been manually adjusting the perms, but I'd rather it be automated. I wrote a small script to handle this, and would like to be run immediately after the array starts (and possibly before Docker is initialized). Anyone know how I can accomplish this?
September 25, 20169 yr For my docker images, I've moved log generation to ram backed /tmp directories to save the 1 million tiny writes/day from my SSD. Works great until I reboot. After a reboot, the directories are created by Docker, but have the wrong ownership/perm preventing the containers from writing to them properly and crashing them. So far I have been manually adjusting the perms, but I'd rather it be automated. I wrote a small script to handle this, and would like to be run immediately after the array starts (and possibly before Docker is initialized). Anyone know how I can accomplish this? The user scripts plugin
Archived
This topic is now archived and is closed to further replies.