Mount and volume_mount


to be sure that I have understand advantage to use volume mount over a mount in docker config it’s in this way the volume is availlable for all tasks of the group?

@vincentDcmps The key difference between using docker volumes and using a volume_mount + mount is the security implication. The docker volumes config is disabled by default, because it implies any job submitter can mount anything on the host machine. In contrast, a volume_mount can only be used if there is a corresponding volume declared in Client configuration - preventing job submitters from being able to mount anything they want to.

1 Like