0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Docker Swarmで複数Dockerホストからクラスタを作る

Posted at

経緯

Dockerホストを複数起動していたので、それらを1つのリソースプールにできないかなぁ...と思って
ためしてみました。

※Docker Swarmに関しては、割愛します。

事前準備

Dockerを1.12にアップデート
docker --version
Docker version 1.12.0, build 8eab29e

swarm クラスタの初期化/起動

docker swarm init --advertise-addr="192.168.99.100" --listen-addr=0.0.0.0:2377

個別のノードの確認

docker info

Containers: 23
Running: 5
Paused: 0
Stopped: 18
〜(省略)〜
Swarm: active

参考文献

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?