[FIX] fix build image arguments -P test pack

This commit is contained in:
kaichang 2018-03-27 09:07:52 +08:00
parent cf7be3874b
commit 8f017a1a8c

View File

@ -27,7 +27,7 @@ import (
"github.com/docker/engine-api/client"
)
var dockerrun = `docker run -d - -v /usr/share/ca-certificates/:/etc/ssl/certs -p 4001:4001 -p 2380:2380 -p 2379:2379 \
var dockerrun = `docker run -d -P -v /usr/share/ca-certificates/:/etc/ssl/certs -p 4001:4001 -p 2380:2380 -p 2379:2379 \
--name etcd quay.io/coreos/etcd:v2.3.8 \
-name etcd0 \
-advertise-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 \