title: Docker-ssh non-root path/getsockopt: connection refused
body: <p>I’m trying to use the gitlab-runner with docker-ssh. Here is how my config.toml looks like:</p>
  
  <pre><code>[[runners]]
  name = “CI/CD docker-ssh alfa”
  url = “https://gitlab.com/”
  token = “&lt;SOME_TOKEN&gt;“
  executor = “docker-ssh”
  [runners.ssh]
  user = “myuser”
  password = “my password”
  [runners.docker]
  tls_verify = false
  image = “ubuntu:latest”
  privileged = false
  disable_cache = false
  volumes = ["/cache"]
  shm_size = 0
  [runners.cache]
  [runners.cache.s3]
  [runners.cache.gcs]
  </code></pre>
  
  <p>But I got this error:</p>
  
  <pre><code>Running with gitlab-runner 11.3.0 (d78e9e67)
  on CI/CD docker-ssh alfa 1f147b76
  Using Docker executor with image ubuntu:latest …
  ERROR: Preparation failed: build directory needs to be absolute and non-root path
  Will be retried in 3s …
  Using Docker executor with image ubuntu:latest …
  ERROR: Preparation failed: build directory needs to be absolute and non-root path
  </code></pre>
  
  <p>So I tried to change the build directory and here hows my config.toml file looks like now:</p>
  
  <pre><code>[[runners]]
  name = “CI/CD docker-ssh alfa”
  url = “https://gitlab.com/”
  token = “&lt;SOME_TOKEN&gt;“
  executor = “docker-ssh”
  builds_dir = “/home/myuser/“
  [runners.ssh]
  user = “myuser”
  password = “my password”
  [runners.docker]
  tls_verify = false
  image = “ubuntu:latest”
  privileged = false
  disable_cache = false
  volumes = [”/cache"]
  shm_size = 0
  [runners.cache]
  [runners.cache.s3]
  [runners.cache.gcs]
  </code></pre>
  
  <p>But I got this new error:</p>
  
  <pre><code>Running with gitlab-runner 11.3.0 (d78e9e67)
  on CI/CD docker-ssh alfa 1f147b76
  Using Docker executor with image ubuntu:latest …
  WARNING: Since GitLab Runner 10.0 docker-ssh and docker-ssh+machine executors are marked as DEPRECATED and will be removed in one of the upcoming releases
  Pulling docker image ubuntu:latest …
  Using docker image sha256:cd6d8154f1e16e38493c3c2798977c5e142be5e5d41403ca89883840c6d51762 for ubuntu:latest …
  ERROR: Preparation failed: dial tcp 172.17.0.2:22: getsockopt: connection refused
  Will be retried in 3s …
  </code></pre>
  
  <p>Any idea what am I doing wrong?</p>