Docker-build-step plugin doesn't use the local Docker installation automatically.1
In Manage Jenkins → Configure System → Docker Builder, the Docker URL option is left blank. Fill it with unix:///var/run/docker.sock.
unix:///var/run/docker.sock