How to use docker deployment in docker-compose 3?

When i make a team sudo docker stack deploy -c docker-compose.yml test

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

And I get this error - Response to the error from the daemon: rpc error: code = 3 desc = ContainerSpec: a link to the image must be provided

But I am creating an image for this container.

+4
source share
1 answer

compose.yml , docker stack deploy. , , sha256 , . , node , , , .

+9

Source: https://habr.com/ru/post/1678554/


All Articles