Created
November 26, 2016 23:27
-
-
Save pi0/703433e82337501fd5831f79ff20f713 to your computer and use it in GitHub Desktop.
Rancher + Weave
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm --privileged --net weave `weave dns-args` \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v /var/run/weave/weave.sock:/var/run/weave/weave.sock \ | |
-v /var/lib/rancher:/var/lib/rancher \ | |
-e HOST_DOCKER_SOCK="/var/run/weave/weave.sock:/var/run/weave/weave.sock -v /var/run/docker.sock" \ | |
-e DOCKER_HOST="unix:///var/run/weave/weave.sock" \ | |
rancher/agent \ | |
<TOEKN_URL> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment