Reputation: 57711
I'm trying to follow the tutorial https://docs.docker.com/get-started/part3/#run-your-new-load-balanced-app, but if I try to run the command
docker stack deploy -c docker-compose.yml getstartedlab
I get the error message
docker: 'stack' is not a docker command.
See 'docker --help'.
Why is this command not working? (My Docker version is 1.12.3, build 6b644ec
).
Upvotes: 4
Views: 3340
Reputation: 5037
Update your Docker version. Option for using docker-compose.yml
with docker stack deploy
was added in version 1.13.0.
Upvotes: 5