<p>I have a Linux build machine that I have installed minikube too. Within the minikube instance I have installed artifactory which I will be using for storing various build artifacts  </p>

<p>I now want to be able to do some work on my dev machine (which is an unrelated laptop on the same network as the Linux build machine) and push some built artifacts into artifactory. </p>

<p>However I can't figure out how to get to artifactory. When I ssh to the Linux server and check the minikube service I can see that the artifactory instance is running on a 192.168 address. </p>

<p>Is there any way to expose artifactory ie access it on the windows machine? Or is this not possible and I should just install artifactory on the Linux machine rather than in minikube? </p>

<p>Expose you artifactory Service</p>

<pre><code>$ minikube service &lt;artifactory-service&gt; -n &lt;namespace&gt;
</code></pre>

<p>Or get the URL</p>

<pre><code>$ minikube service &lt;artifactory-service&gt; -n &lt;namespace&gt; --url
</code></pre>

<p>If you want to access from remote, you need to do something else.</p>

<p>Suppose, when you run <code>minikube service &lt;artifactory-service&gt; -n &lt;namespace&gt; --url</code>, you get following </p>

<pre><code>http://192.168.99.100:30654
</code></pre>

<p>You can access artifactory in minikube using this URL. But can't access from remote.</p>

<p>Now do this, expose port <strong>30654</strong></p>

<pre><code>ssh -i ~/.minikube/machines/minikube/id_rsa docker@$(minikube ip) -L \*:30654:0.0.0.0:30654
</code></pre>

<p>You will be able to access from other network.</p>
