1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-14 01:57:32 +08:00

Add Swarm and IPVS instructions

This commit is contained in:
Marcos Lilljedahl 2016-11-13 16:45:03 -03:00
parent a0e43f1328
commit 27dd5d6f7b

View File

@ -15,6 +15,13 @@ Docker 1.13+ is required. You can use docker-machine with the following command:
docker-machine create -d virtualbox --virtualbox-boot2docker-url https://github.com/boot2docker/boot2docker/releases/download/v1.13.0-rc1/boot2docker.iso <name>
```
The docker daemon needs to run in swarm mode because PWD uses overlay attachable networks. For that
just run `docker swarm init`.
It's also necessary to manually load the IPVS kernel module because as swarms are created in `dind`,
the daemon won't load it automatically. Run the following command for that purpose: `sudo lsmod xt_ipvs`
## Installation
Start the Docker daemon on your machine and run `docker pull docker:1.12.2-rc2-dind`.