Volmex is a docker volume driver that allows to execute arbitrary commands before a volume is mounted (pre-mount hook).