Is the docker socket path different when setup_remote_docker is used?

This is an item of confusion for me. When setup_remote_docker is used, does the path to the docker socket change? Or is it different somehow?

Specifically, I’m trying to use Resin CLI to deploy via CircleCI. But when I try to run the build command, I get:

Error: Docker seems to be unavailable (using socket /var/run/docker.sock). Is it installed, and do you have permission to talk to it?

Snippet:

deploy:
    docker:
      - image: circleci/node:6

    working_directory: ~/app

    steps:
      - setup_remote_docker
      - checkout
      - run:
          name: Install Resin
          command: |
            sudo apt-get update
            sudo apt-get install build-essential
            sudo npm install --global --production resin-cli

      - run:
          name: Deploy Resin
          command: |
            sudo resin login -t $RESIN_AUTH_TOKEN
            sudo resin build -P '/var/run/docker.sock'
3 Likes