docker stack deploy certain service code example Example: docker stack deploy docker stack deploy -c "path to docker-compose.yml" stackname