How to use docker deploy in docker-compose 3? : <p>When I make command <code>sudo docker stack deploy -c docker-compose.yml test</code></p>

<pre><code>Ignoring unsupported options: build, external_links, links, restart

Updating service test_cache (id: me2vh1lffrl4ppzomphin167la)
Updating service test_lb (id: ycnne1ifpt517wdbfdg1g5tlup)
Updating service test_media (id: rr3ural9hjz0mw6hjx7n2vywm)
Creating service test_web

Error response from daemon: rpc error: code = 3 desc = ContainerSpec: image reference must be provided
</code></pre>

<p>And I get this error - <strong>Error response from daemon: rpc error: code = 3 desc = ContainerSpec: image reference must be provided</strong></p>

<p>But I create image for this container.</p>
