2016-07-04 23:16:18 +08:00
|
|
|
#!/bin/bash
|
|
|
|
/usr/bin/docker run --privileged --rm \
|
2016-07-08 17:59:21 +08:00
|
|
|
--net=host --pid=host -e ETCD_AUTHORITY={{ etcd_authority }} \
|
2016-07-04 23:16:18 +08:00
|
|
|
-v /usr/bin/docker:/usr/bin/docker \
|
|
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
|
|
-v /var/run/calico:/var/run/calico \
|
|
|
|
{{ calicoctl_image_repo }}:{{ calicoctl_image_tag}} \
|
|
|
|
$@
|