| 1 | = 2019-03-28 = |
| 2 | |
| 3 | == Docker == |
| 4 | |
| 5 | * 最近在研究怎麼用 Docker 來錄影像跟聲音,所以參考了[elgalu/docker-selenium](https://github.com/elgalu/docker-selenium) |
| 6 | * 源自於搜尋到一個解法是用 [Zalenium](https://github.com/zalando/zalenium) |
| 7 | * 意外發現該專案有一份使用狀況的分析,加上在一些 docker 執行的 Log 裡面出現一段有使用 GA 進行追蹤的宣告 |
| 8 | {{{ |
| 9 | 2019-03-28 04:23:27,285 INFO stopped: video-rec (exit status 0) |
| 10 | Trapped SIGTERM/SIGINT/x so shutting down supervisord gracefully... |
| 11 | ***************** BEGIN: Data Processing Agreement ***************** |
| 12 | By using this software you agree that the following non-PII |
| 13 | (non personally identifiable information) data will be collected, |
| 14 | processed and used by Docker-selenium for the purpose of improving |
| 15 | our test infrastructure tools. Anonymisation with respect of the IP |
| 16 | address means that only the first two octets of the IP address are |
| 17 | collected. See the complete license at: |
| 18 | https://github.com/elgalu/docker-selenium/blob/master/LICENSE.md |
| 19 | ****************** END: Data Processing Agreement ****************** |
| 20 | 2019-03-28 04:24:47,596 INFO stopped: xmanager (exit status 0) |
| 21 | }}} |
| 22 | * 授權聲明 - https://github.com/elgalu/docker-selenium/blob/master/LICENSE.md |
| 23 | * 追蹤與分析方法聲明 - https://github.com/elgalu/docker-selenium/blob/master/Analytics.md |
| 24 | * 研究了一下做法,使用 curl 去打 GA,參考程式碼: |
| 25 | * https://github.com/elgalu/docker-selenium/blob/master/bin/entry.sh#L421-L422 |
| 26 | * https://github.com/elgalu/docker-selenium/blob/master/supervisor/bin/run-supervisord.sh#L25-L26 |