<p>I'm using a git bash integrated terminal on visual studio code on windows 10 pro.
If a try this command <code>eval $(minikube docker-env)</code> I get <code>bash: syntax error near unexpected token</code>('`</p>

<p>Then I try <code>eval '$(minikube docker-env)'</code> and I get this error <code>bash: You: command not found</code></p>

<p>If a try <code>minikube docker-env</code> I get</p>

<pre class="lang-sh prettyprint-override"><code>You can further specify your shell with either 'cmd' or 'powershell' with the --shell flag.

SET DOCKER_TLS_VERIFY=1
SET DOCKER_HOST=tcp://192.168.0.164:2376
SET DOCKER_CERT_PATH=C:\Users\migue\.minikube\certs
SET DOCKER_API_VERSION=1.35
REM Run this command to configure your shell:
REM @FOR /f "tokens=*" %i IN ('minikube docker-env') DO @%i
</code></pre>

<p>And finally if I try with <code>REM @FOR /f "tokens=*" %i IN '('minikube docker-env')' DO @%i</code> I get <code>bash: REM: command not found</code></p>

Miguel Ángel Torres
<p>This is the configuration for the cmd.exe Shell provided by Windows.
If you want to use bash, you can manually configure it. From your output it would look like:</p>

<pre><code>export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.0.164:2376"
export DOCKER_CERT_PATH="C:\Users\migue\.minikube\certs"
</code></pre>
