How to call docker deploy?

Hi, I could not find a way to call docker deploy or docker stack deploy wither with bundle file or with docker compose file:
Pls advise,
docker deploy -c docker-compose.yml
"docker deploy" requires exactly 1 argument(s).
See ‘docker deploy --help’.
docker deploy --bundle-file=docker.dab
"docker deploy" requires exactly 1 argument(s).
See ‘docker deploy --help’.

Usage: docker deploy [OPTIONS] STACK

Deploy a new stack or update an existing stack
root@nicu:/home/nicu/bb/theglue-verticals/smoke-test/build/docker# docker deploy --bundle-file docker.dab
"docker deploy" requires exactly 1 argument(s).
See ‘docker deploy --help’.

Usage: docker deploy [OPTIONS] STACK

Deploy a new stack or update an existing stack
Thanks

could you try docker stack deploy -c composefile.yml , I hope you have docker engine >=v1.13 and docker-compose >= v1.10

Hi,
It gives me the same error:

nicu@nicu:~$ docker stack deploy -c composefile.yml
“docker stack deploy” requires exactly 1 argument(s).
See ‘docker stack deploy --help’.

Usage: docker stack deploy [OPTIONS] STACK

Deploy a new stack or update an existing stack
nicu@nicu:~$

The argument you are missing is the name of your stack. So your command should be something like:
docker stack deploy --compose-file docker-compose.yml <name>
where you would replace <name> with the name you want your stack to have. The services created will be called <name>_<service_name_from_compose_file>