docker stack tutorial code example
Example 1: docker stack deploy
docker stack deploy -c "path to docker-compose.yml" stackname
Example 2: docker swarm deploy
docker stack deploy -c "path to compose" stackname
docker stack deploy -c "path to docker-compose.yml" stackname
docker stack deploy -c "path to compose" stackname