I think this should be merged w/ https://github.com/opspec-pkgs/docker.image.build.
All it would take is making imageTar optional and adding optional dockerSocket param
The trouble is, socket params can't have defaults so this isn't currently possible.
Just keeping this here to revisit in future