<p>I use <code>--driver=docker</code> and <code>minikube tunnel</code> in Windows (WSL2 and native) and macOS (Intel and M1) which makes the app running in the minikube cluster accessible in browser at <code>localhost</code> after applying <code>ingress-nginx</code>.</p>
<p>To make things consistent across Linux, macOS and Windows for a list of reasons that really aren't relevant to the question, I'd like to do the same in Linux (Ubuntu/Pop!_OS in particular).</p>
<p>I know Docker works differently with networking in Linux than it does with macOS and Windows, which is likely what is causing the issue.</p>
<p>For macOS and Windows, I'd normally just use the following which works regardless if using Docker Desktop or not:</p>
<pre><code>kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.44.0/deploy/static/provider/cloud/deploy.yaml
</code></pre>
<p>For Linux, I've tried three different things:</p>
<pre><code># the recommended method for minikube (which doesn't work in macOS nor WIndows if using --driver=docker)
minikube addons enable ingress

# Docker Desktop
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.44.0/deploy/static/provider/cloud/deploy.yaml

# Bare Metal
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.44.0/deploy/static/provider/baremetal/deploy.yaml
</code></pre>
<p>The results, whether using <code>minikube tunnel</code> or not in Linux, are the same: &quot;<strong>localhost</strong> refused to connect.&quot;</p>
<p>So my question is, which may be a question for <code>ingress-nginx</code>, is there a way to get the combination of <code>minikube</code> and <code>ingress-nginx</code> to serve the application at <code>localhost</code> in Linux like it does for Windows and macOS?</p>
<p>If not, I guess I need to be revise my dev deployment scripts to make this exception, but would like to avoid that if possible.</p>

cjones
<p>After short investigation it seems to me there is a wide problem related to <code>minikube</code>, <code>--vm-driver=docker</code> and <code>ingress</code>. And it seems it affects all the platforms, not only your specific case.</p>
<p>There are 2 open issues on github related to this. Both are fresh and opened:</p>
<p><strong>1.</strong> <a href="https://github.com/kubernetes/minikube/issues/10245" rel="nofollow noreferrer">Ingress on docker driver - minikube 1.16 - ERR_CONNECTION_REFUSED</a></p>
<p><strong>2.</strong> <a href="https://github.com/kubernetes/minikube/issues/7332" rel="nofollow noreferrer">docker: Ingress not exposed on MacOS</a></p>
<p>Are you able to use another <code>--vm-driver</code>?</p>
