how to use remote tcp socket instead of local unix socket for nexus iq container image scan for pulling neuvector image from private registry

how to use remote tcp socket instead of local unix socket for nexus iq container image scan for pulling neuvector image from private registry? Using jenkins plugin.
getting the error docker pull privateregistry.com/neuvector/scanner:4.135 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Try using Sonatype container scanning instead, with that there is no requirement to have a local socket.