Support symlink enabled docker mounts

Potential implementation for #4321