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

Update readme with changes in Makefile. (#67)

Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
This commit is contained in:
Kunal Kushwaha 2016-12-13 21:19:21 +09:00 committed by Marcos Nils
parent c0bbcf6274
commit a92d5ea882

View File

@ -22,7 +22,7 @@ It's also necessary to manually load the IPVS kernel module because as swarms ar
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).
Just run once `make create`, which will create the docker-machine environment.
Just run once `make prepare`, which will create & prepare the docker-machine environment.
Additionally, every time you want to start you environment run `make start`.
And to start the application on a container on the docker machine host, run: `eval $(docker-machine env pwd) && docker-compose up`