Is it possible for the HostPath to set the type?
By default it’s set toDirectoryOrCreate, I would like to set it to File.
As in this case to pass the docker socker i have to mount the entire /var/run folder.
Could you please try as below and let us know if this helps:
https://docs.drone.io/pipeline/docker/examples/services/docker/
DIND works, but is it possible to make it re-use layers when using dind?