Browse code

integration-cli-on-swarm/README.md: add a note about Docker->Moby

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>

Akihiro Suda authored on 2017/05/15 23:34:44
Showing 2 changed files
... ...
@@ -190,7 +190,7 @@ swagger-docs: ## preview the API documentation
190 190
 		bfirsh/redoc:1.6.2
191 191
 
192 192
 build-integration-cli-on-swarm: build ## build images and binary for running integration-cli on Swarm in parallel
193
-	@echo "Building hack/integration-cli-on-swarm"
193
+	@echo "Building hack/integration-cli-on-swarm (if build fails, please refer to hack/integration-cli-on-swarm/README.md)"
194 194
 	go build -o ./hack/integration-cli-on-swarm/integration-cli-on-swarm ./hack/integration-cli-on-swarm/host
195 195
 	@echo "Building $(INTEGRATION_CLI_MASTER_IMAGE)"
196 196
 	docker build -t $(INTEGRATION_CLI_MASTER_IMAGE) hack/integration-cli-on-swarm/agent
... ...
@@ -38,6 +38,8 @@ Following environment variables are known to work in this step:
38 38
  - `BUILDFLAGS`
39 39
  - `DOCKER_INCREMENTAL_BINARY`
40 40
 
41
+Note: during the transition into Moby Project, you might need to create a symbolic link `$GOPATH/src/github.com/docker/docker` to `$GOPATH/src/github.com/moby/moby`. 
42
+
41 43
 ### Step 2: Execute tests
42 44
 
43 45
     $ ./hack/integration-cli-on-swarm/integration-cli-on-swarm -replicas 40 -push-worker-image YOUR_REGISTRY.EXAMPLE.COM/integration-cli-worker:latest