<p>I am trying to follow the instructions at <a href="https://docs.docker.com/docker-for-windows/kubernetes/#use-docker-commands" rel="nofollow noreferrer">https://docs.docker.com/docker-for-windows/kubernetes/#use-docker-commands</a> for running a docker-compose.yml file against kubernetes on Docker for Windows.</p>

<p>I am using the Edge version of Docker for Windows -- 18.03.0-ce-rc4 -- and I have kubernetes enabled.</p>

<p>I am using the example docker-compose app at <a href="https://docs.docker.com/compose/gettingstarted/#step-3-define-services-in-a-compose-file" rel="nofollow noreferrer">https://docs.docker.com/compose/gettingstarted/#step-3-define-services-in-a-compose-file</a>, i.e.</p>

<pre><code>version: '3.3'
services:
  web:
    build: .
    ports:
      - '5000:5000'
  redis:
    image: redis
</code></pre>

<p>This example works fine with <code>docker-compose build</code> and <code>docker-compose up</code></p>

<p>But following the documentation linked above for <code>docker stack</code>, I get the following:</p>

<pre><code>PS C:\dev\projects\python\kubetest&gt; docker stack deploy --compose-file .\docker-compose.yml mystack
Ignoring unsupported options: build

Stack mystack was created
Waiting for the stack to be stable and running...
 - Service redis has one container running
PS C:\dev\projects\python\kubetest&gt; kubectl get services
NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)     AGE
kubernetes   ClusterIP   10.96.0.1    &lt;none&gt;        443/TCP     5d
redis        ClusterIP   None         &lt;none&gt;        55555/TCP   8s
</code></pre>

<p>Note that it doesn't create the web service, along with that "ignoring unsupported options: build" error</p>

<p>I also tried using the sample docker-compose.yml file in that documentation linked above, and it didn't work, either, with a totally different error.</p>

<p>In short, by following the documentation, I'm unable to get anything deployed to kubernetes on Docker for Windows.</p>

marc esher
<p>there is a project: </p>

<blockquote>
  <p><a href="https://github.com/kubernetes/kompose" rel="nofollow noreferrer">https://github.com/kubernetes/kompose</a></p>
</blockquote>

<p>called <strong>Docker Kompose</strong> that helps users who already have docker-compose files to deploy their applications on Kubernetes as easy as possible by automatically converting their existing docker-compose file into many yaml files.</p>
