1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-14 18:27:25 +08:00

Fix module error.

This commit is contained in:
Marcos Nils 2016-12-01 02:48:42 -03:00 committed by GitHub
parent 17b21e6fc8
commit 07fee4c1bf

View File

@ -19,7 +19,7 @@ The docker daemon needs to run in swarm mode because PWD uses overlay attachable
just run `docker swarm init`. just run `docker swarm init`.
It's also necessary to manually load the IPVS kernel module because as swarms are created in `dind`, 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` the daemon won't load it automatically. Run the following command for that purpose: `sudo modprobe xt_ipvs`
If you are developing, there is a `Makefile` file with 2 targets that can set the whole environment for you (using docker-machine and virtual box). If you are developing, there is a `Makefile` file with 2 targets that can set the whole environment for you (using docker-machine and virtual box).
Just run once `make create`, which will create the docker-machine environment. Just run once `make create`, which will create the docker-machine environment.