本来想自己制作一个atc的images,搜了一下docker hub,发现2015.5.15日有人发布了该工具的镜像,这下方便了。

Docker hub地址

Image

启动镜像

docker run -it --privileged --net=host --rm atcd/atc 会自动检查,如果本地存在,会直接启动,如果本地没有就会从云端下载。

58deMacBook-Pro:docker wuxian$ docker run -it --privileged --net=host --rm atcd/atc
Unable to find image 'atcd/atc:latest' locally
latest: Pulling from atcd/atc64e5325c0d9d: Pulling fs layer
bf84c1d84a8f: Pulling fs layer
87de57de6955: Pulling fs layer
6a974bea7c0d: Pulling fs layer
4b708e6c0f6c: Pulling fs layer
12fef6820370: Pulling fs layer
69ca4f45dafd: Pulling fs layer
11ea72ec71a1: Pulling fs layer
4b708e6c0f6c: Downloading 75.68 MB/160.4 MB
a6ea00825040: Download complete
e1f5c799d062: Downloading 17.34 MB/19.65 MB
5d75f900f6bb: Download complete
65c00af7c3f9: Download complete
70af3ebe09c5: Download complete
8a74fd4e7ccd: Download complete
b6b63492bda0: Download complete
2c21e5589565: Download complete
5dda6f7075ff: Download complete
2e2bd66e21a9: Download complete
c9fddf0230c6: Download complete
e13d2c31ef2d: Download complete
717ac29f9d1f: Download complete
ba77ab6d489b: Download complete
3088a5ade1cc: Download complete
a3fa37170d8a: Download complete
66f4143d2d25: Download complete
b09dbd7b7f31: Download complete
1f06e98d5008: Download complete
5964190ee946: Download complete
b6adef0a30cd: Download complete
c75be3ba9b59: Download complete
Status: Downloaded newer image for atcd/atc:latest
/usr/local/lib/python2.7/site-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.'Supervisord is running as root and it is searching '
2015-07-02 04:44:19,269 CRIT Supervisor running as root (no user in config file)
2015-07-02 04:44:19,278 INFO RPC interface 'supervisor' initialized
2015-07-02 04:44:19,279 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-07-02 04:44:19,279 INFO supervisord started with pid 6
2015-07-02 04:44:20,284 INFO spawned: 'stdout' with pid 9
2015-07-02 04:44:20,286 INFO spawned: 'atcui' with pid 10
2015-07-02 04:44:20,288 INFO spawned: 'atcd' with pid 11
2015-07-02 04:44:20,290 INFO spawned: 'rsyslogd' with pid 12
2015-07-02 04:44:21,494 INFO success: stdout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-07-02 04:44:21,494 INFO success: atcui entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-07-02 04:44:21,495 INFO success: atcd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-07-02 04:44:21,495 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
rsyslogd stderr | rsyslogd: Could not open output pipe '/dev/xconsole': No such file or directory [try http://www.rsyslog.com/e/2039 ]
atcd stderr | INFO:AtcdVService.AtcdNBServerTask:AtcdNBServerTask Server Started on 127.0.0.1:9090
atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:Calling initialize_shaping_system
atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -F FORWARD
atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:deleting root QDisc on eth1
atcd stderr | WARNING:AtcdVService.AtcdLinuxShaper:could not delete root QDisc. There might have been nothing to delete
atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:setting root qdisc on eth1
atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:deleting root QDisc on eth0
atcd stderr | WARNING:AtcdVService.AtcdLinuxShaper:could not delete root QDisc. There might have been nothing to delete
atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:setting root qdisc on eth0
atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:Restoring shaped connection from DB
atcd stderr | DEBUG:AtcdVService:All tasks started
atcd stderr | DEBUG:AtcdVService:VService Active.  Awaiting graceful shutdown

下载完成后会启动该镜像,这个时候我们可以访问该工具的UI页面了。首先你得知道你的docker ip是多少,这个可以在你的环境变量中查找到,比如我的环境变量文件中的内容如下:

export DOCKER_HOST=tcp://10.59.15.199:2376
export DOCKER_CERT_PATH=/Users/wuxian/.boot2docker/certs/boot2docker-vm
export DOCKER_TLS_VERIFY=1

那么我们的docker ip地址就是10.59.15.199,那么我们访问atc的UI网址就是http://10.59.15.199:8000

facebook网络环境模拟工具atc相关推荐

  1. Facebook网络环境模拟工具ATC的使用

    在我们之前的网络测试中,主要是限制网速来模拟弱网络环境,而实际中弱网络时,网络延时,丢包率都会有变化,所以使用网速+丢包率+延时来定义一种网络环境更加合理 本篇文章介绍ATC工具环境的搭建和使用,搭建 ...

  2. Clumsy 弱网络环境模拟工具使用介绍

    Clumsy 弱网络环境模拟工具使用介绍 by:授客 QQ:1033553122 简介 利用封装 Winodws Filtering Platform 的WinDivert 库, clumsy 能实时 ...

  3. 59.1 Facebook网络模拟测试工具ATC使用

    转载自:https://www.cnblogs.com/coderzh/p/AugmentedTrafficControl.html 实际步骤本人并没有操作过.因为考虑再过一段时间马上就需要用到了,所 ...

  4. Facebook网络模拟测试工具ATC使用

    转载自:https://www.cnblogs.com/coderzh/p/AugmentedTrafficControl.html 实际步骤本人并没有操作过.因为考虑再过一段时间马上就需要用到了,所 ...

  5. Clumsy-Windows下网络环境模拟工具

    下载页 http://jagt.github.io/clumsy/cn/download 项目的代码可以在github上获取,在下载页面有编译好的版本.强烈建议在使用前花点时间阅读一下文档,来 了解 ...

  6. 弱网工具ATC使用总结

    Facebook网络模拟测试工具ATC使用 就在上周,Facebook在其工程博客(原文)上宣布开源移动网络测试工具Augmented Traffic Control(ATC),我迅速试用了一番,非常 ...

  7. Https/Tcp抓包工具Charles、fiddler,ping (网络诊断工具),Android平台HTTPS抓包解决方案及问题分析HttpCanary

    市面上已经有一些弱网络模拟工具,比如微软的Network Emulator for Windows Toolkit(NEWT),Facebook的Augmented Traffic Control(A ...

  8. iOS 网络环境模拟流量监控实战

    目前的商业 APP基本都需要进行网络请求,用户携带手机处于各种网络环境下,我们的 APP在这些环境下能否依然提供良好的用户体验?  这里不讲具体的代码实现和优化方法,只讲一下如果把 APP当做黑盒,如 ...

  9. facebook网络团队是如何炼成的?

    为什么80%的码农都做不了架构师?>>>    编者按:诚如2015全球未来网络暨SDN技术大会上阿里巴巴首席架构师庞俊英女士(OpenFlow与VxLAN在云网络的应用)所说的,想 ...

最新文章

  1. 在A*寻路中使用二叉堆
  2. 如何使用LocalDateTime解析/格式化日期? (Java 8)
  3. 影响数据库性能的因素
  4. 重装win8系统后变成C盘了别的分区的资料怎样恢复
  5. VC++:如何将程序最小化到托盘
  6. 优秀架构师养成记:我是如何逆袭走向“人生巅峰”的?
  7. Django入门:DoesNotExist: User matching query does not exist.
  8. visio 转 pdf 裁边 ——使用pdfcrop对PDF裁边
  9. 从web编辑器 UEditor 中单独提取图片上传,包含多图片单图片上传以及在线涂鸦功能...
  10. Linux C++线程池
  11. dump java崩溃自动 不生成_基于Excel和Java自动化工作流程:发票生成器示例
  12. 这可能就是写代码的乐趣吧,你,也一定会爱上写代码的!
  13. 02 理解==与Equals()的区别及用法 1214
  14. apache+mysql+wordpress的安装建站
  15. 工作与生活如何平衡?
  16. c语言中专业术语及其定义,c语言中常用专业英语词汇
  17. uni-app url 传参有长度限制么?
  18. 在线php中文手册,JavaScript中文参考手册
  19. oracle sql格式化 补零,sql语句格式化数字(前面补0)、替换字符串
  20. eTerm A4电子行程单 提取导出

热门文章

  1. Scanner的用法(扫描器深入)
  2. “gcc“ not found
  3. 速卖通php,史上最详细的速卖通选品技巧
  4. python期中考试及答案_PYTHON期中考试试卷
  5. 物联网网关web端的相关操作
  6. PDK和工艺文件解读
  7. 【luogu CF1693D】Decinc Dividing(DP)
  8. 未收到ios更新的推送应该怎么办?
  9. 环境加密--SDC沙盒防泄密系统
  10. 开源如何影响程序员 如何在国内做开源