2016-07-04 15:16:18 +00:00
|
|
|
#!/bin/bash
|
|
|
|
/usr/bin/docker run --privileged --rm \
|
2016-11-09 10:31:12 +00:00
|
|
|
--net=host --pid=host \
|
|
|
|
-e ETCD_ENDPOINTS={{ etcd_access_endpoint }} \
|
2016-07-04 15:16:18 +00: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}} \
|
|
|
|
$@
|