Files
weave-scope/extras/example
Marc Carré 4e58b83024 Add org.opencontainers.image.* labels to Dockerfiles
- This should ultimately help for image-to-code back references.
- `org.label-schema.*` labels are now deprecated, in favour of `org.opencontainers.image.*` labels.
  See also: https://github.com/opencontainers/image-spec/blob/master/annotations.md#back-compatibility-with-label-schema
- Git revision (`git rev-parse HEAD`) is now injected at `docker build` time.
2018-05-14 11:54:33 +01:00
..
2017-01-18 11:51:41 +01:00
2017-01-18 11:51:41 +01:00

example

To run a on a Mac, run:

$ docker-machine create -d virtualbox --virtualbox-memory=4096 scope-tastic
$ eval $(docker-machine env scope-tastic)
$ sudo curl -L git.io/weave -o /usr/local/bin/weave
$ sudo chmod +x /usr/local/bin/weave
$ curl -o run.sh https://raw.githubusercontent.com/weaveworks/scope/master/experimental/example/run.sh
$ ./run.sh
$ sudo curl -L git.io/scope -o /usr/local/bin/scope
$ sudo chmod a+x /usr/local/bin/scope
$ scope launch

"architecture"

client -> frontend --> app --> searchapp -> elasticsearch
           (nginx)         |
                           --> qotd -> internet
                           |
                           --> redis

To push new images

for img in $(docker images | grep tomwilkie | cut -d' ' -f1); do docker push $img:latest; done