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
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>