Docker Swarm runner for Weave Scope
334
Because Weave Scope requires to run in a privileged container, which is currently unsupported on Docker Swarm, this "wrapper" container can be used to bootstrap Weave Scope on every node in a Docker Swarm.
In order to do this, add a global service to the swarm using this container. This will run the Weave Scope container on all nodes.
You can do this via "docker service" or via a docker-compose.yml v3 file.
docker service create --name weave-scope --mode global
--mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock
-e SERVICE_TOKEN=
coderollers/weave-scope-runner
version: "3" services: weave-scope-runner: image: coderollers/weave-scope-runner volumes: - /var/run/docker.sock:/var/run/docker.sock environment: - SERVICE_TOKEN=bla-bla-bla deploy: mode: global
Content type
Image
Digest
Size
9.2 MB
Last updated
over 9 years ago
docker pull coderollers/weave-scope-runner