Shared Runner in Priviliged mode

Is there any tag or similar that I can use so I can get a shared runner in priviliged mode? Need this for building docker image in a step and the current runners cannot find if docker is running when I have it in a step.

Or is it some other way I should configure it to work with shared runners?

docker:
  image: docker:stable
  stage: package
  tags: [ docker ]
  before_script:
  - export GIT_HASH=${CI_BUILD_REF:0:8}
  - echo "$SECRETS" | docker login --username _json_key --password-stdin         $DOCKER_REPOSITORY
#  after_script:
#  - docker logout $DOCKER_REPOSITORY
  variables:
    DOCKER_HOST: tcp://localhost:2375/
    DOCKER_DRIVER: overlay2
  services:
  - docker:stable-dind
  script:
  - docker build -f $DOCKER_FILE -t $DOCKER_REPOSITORY$CI_PROJECT_NAME:$GIT_HASH -t $DOCKER_REPOSITORY$CI_PROJECT_NAME:latest .
  - docker push $DOCKER_REPOSITORY$CI_PROJECT_NAME:$GIT_HASH
  - docker push $DOCKER_REPOSITORY$CI_PROJECT_NAME:latest
  only:
  - master
  - develop

Output:

Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at tcp://localhost:2375/. Is the docker daemon running?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon at tcp://localhost:2375/. Is the docker daemon running?
ERROR: Job failed: exit code 1