Skip to content

Instantly share code, notes, and snippets.

View sperka's full-sized avatar

Gergely Varga sperka

View GitHub Profile
# first, fetch the latest refs for all branches. And be sure we have latest master, etc
git checkout master
git fetch
# If any changes from remote, catch our local version up
git rebase origin/master
# could also be done as
ubuntu@slave1:~$ docker ps | wc -l
2
slave2: 2
slave3: 2
slave4: 2
ubuntu@slave1:~$ sudo sh -c "echo /proc/*/fd/* | wc -w"
229
slave2: 229
ubuntu@slave-4:~$ docker logs weavescope
Exposing host to weave network.
10.40.0.0
Weave container detected at 127.0.0.1, Docker bridge at 172.17.0.1
<probe> 2016/02/16 18:28:23 probe starting, version 0.12.0, ID 40c27edd08d2f4f0
<probe> 2016/02/16 18:28:23 publishing to: 10.2.124.12
<app> 2016/02/16 18:28:23 app starting, version 0.12.0, ID 2a0b3eb8b44913cc
<app> 2016/02/16 18:28:23 listening on :4040
<probe> 2016/02/16 18:28:23 Control connection to 10.2.124.12:4040 starting
<probe> 2016/02/16 18:28:23 docker container: collecting stats for 296edf3dbcce25769e95ed5608dbd22957398d0e93e0b17554302e46512c7c2c
ubuntu@slave-3:~$ docker logs weavescope
Exposing host to weave network.
10.36.128.255
Weave container detected at 127.0.0.1, Docker bridge at 172.17.0.1
<app> 2016/02/16 20:30:56 app starting, version 0.12.0, ID 11134dcd0ceb815e
<app> 2016/02/16 20:30:56 listening on :4040
<probe> 2016/02/16 20:30:56 probe starting, version 0.12.0, ID 1be623712d87ba83
<probe> 2016/02/16 20:30:56 publishing to: 10.2.124.12
<probe> 2016/02/16 20:30:56 Control connection to 10.2.124.12:4040 starting
<probe> 2016/02/16 20:30:56 docker container: collecting stats for 04118b16da08092a0f70ff59ede14d44983c60c52f8ca947cb1015f5952fcd3e
ubuntu@slave2:~$ sudo docker logs weavescope
Exposing host to weave network.
10.44.0.0
Weave container detected at 127.0.0.1, Docker bridge at 172.17.0.1
<probe> 2016/02/16 20:29:24 probe starting, version 0.12.0, ID 171b75e94f1c4c81
<probe> 2016/02/16 20:29:24 publishing to: 10.2.124.12
<app> 2016/02/16 20:29:24 app starting, version 0.12.0, ID 3ee255e94a372036
<app> 2016/02/16 20:29:24 listening on :4040
<probe> 2016/02/16 20:29:24 Control connection to 10.2.124.12:4040 starting
<probe> 2016/02/16 20:29:24 docker container: collecting stats for ed4adb9d67ae2f62466f2c8e9cd807114ad342fa7915133e83a8058245d7845e
ubuntu@slave1:~$ docker logs weavescope
<probe> 2016/02/16 20:34:44 probe starting, version 0.12.0, ID 59594cd5801dc33c
<probe> 2016/02/16 20:34:44 publishing to: 10.2.124.12
<app> 2016/02/16 20:34:44 app starting, version 0.12.0, ID 3907fea91381bb39
<app> 2016/02/16 20:34:44 listening on :4040
<probe> 2016/02/16 20:34:44 Control connection to 10.2.124.12:4040 starting
<probe> 2016/02/16 20:34:44 docker container: collecting stats for 2c27d4c21fd9a2685439ce4170c2e2030c14a9be6824096f1f2eb5c78b933268
<probe> 2016/02/16 20:34:44 docker container: collecting stats for 9d867a53d0d76b020c171f920855435c45450fd720435f407ca078f9947ec779
<probe> 2016/02/16 20:34:44 Publish loop for 10.2.124.12:4040 starting
<probe> 2016/02/16 20:34:44 docker container: collecting stats for 76878e0df8224215196efc4611d81b7c2816e319ea8014206004bba0b1321d3f