Docker container startup hook


Any chance the official docker container can accept/expose a start-up volume, like a rc.local / local.d / cont-init.d in the Alpine image without fiddling with the Dockerfile?

Use cases vary of course - in my particular case I want to delete the VFS cache directories of the !remote when I switch the remote source.