title: Jenkins on docker can't reach minikube
body: <p>I'm running Jenkins with Docker.</p>
  <p>I want to deploy Kubernetes resources from Jenkins on Minikube.</p>
  <p>I'm facing an error that Jenkins cannot reach Minikube.</p>
  <pre><code>Error: Kubernetes cluster unreachable: Get &quot;https://127.0.0.1:62756/version?timeout=32s&quot;: dial tcp 127.0.0.1:62756: connect: connection refused
  </code></pre>
  <p>I tried to publish the Minikube's port but still having the same error.</p>
  <p>this is the command am using:</p>
  <pre><code> docker run \
    --name jenkins-blueocean \
    --rm \
    --detach \
    --network jenkins \
    --env DOCKER_HOST=tcp://docker:2376 \
    --env DOCKER_CERT_PATH=/certs/client \
    --env DOCKER_TLS_VERIFY=1 \
    --publish 8080:8080 \
    --publish 50000:50000 \
    --publish 62756:62756 \
    --volume /Users/myuser/.kube:/var/jenkins_home/.kube \
    --volume /Users/myuser/.minikube:/Users/myuser/.minikube \
    --volume /Users/myuser/.minikube/profiles:/Users/myuser/.minikube/profiles \
    --volume /Users/myuser/.minikube/profiles/minikube:/Users/myuser/.minikube/profiles/minikube \
    --volume jenkins-data:/var/jenkins_home \
    --volume jenkins-docker-certs:/certs/client:ro \
    myjenkins-blueocean:1.1
  </code></pre>