scope icon indicating copy to clipboard operation
scope copied to clipboard

Add v3 Docker compose launch script to documentation

Open 2opremio opened this issue 8 years ago • 2 comments
trafficstars

We currently only include version 1 and 2 examples at https://www.weave.works/docs/scope/latest/installing/#docker-compose

2opremio avatar Jul 13 '17 09:07 2opremio

After 4 years: what about docker-compose file v3 to run Weaver scope?

ZedZipDev avatar Oct 03 '21 10:10 ZedZipDev

@ZedZipDev @2opremio I was able to run using the same as v2 compose:

services:
  scope:
    image: weaveworks/scope:latest
    network_mode: host
    pid: host
    privileged: true
    labels:
      - "works.weave.role=system"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:rw
    command:
      - "--probe.docker=true"
      - "--weave=false"

I can also be run without the privileged flag by using:

cap_add:
  - NET_ADMIN
  - NET_RAW

gaby avatar Feb 26 '24 01:02 gaby