Swarm Modeとは
簡単にいうとデプロイでクラスタをまたぐ機能らしいです。
KVSのようなものと認識してます
止めるには
swarm modeをはじめてしまっている場合、
止め方を説明します。
例えばこんな感じのエラーが出てしまったとします。
$ docker-compose up -d
WARNING: The Docker Engine you're using is running in swarm mode.
Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.
To deploy your application across the swarm, use `docker stack deploy`.
Starting mysql ... done
metabase is up-to-date
その場合、強制的に止めるには、こちらのコマンでいけます
$docker swarm leave --force