sonic windows-2.6.4

1.下载windows docker
0
 
安装 成功后,不勾选 wsl 协议 和配置
 
2.windows 需要开启 -更新成功后-重启
0
 
3.更新国内 镜像如图:文件名称:windows-daemon-options.json
0
 
 
{
 
"allow-nondistributable-artifacts": ["host_port_or_cidr|redacted"],
"authorization-plugins": [],
"bridge": "",
"cluster-advertise": "",
"cluster-store": "",
"data-root": "path|redacted",
"debug": true,
"default-ulimits": {},
"disable-legacy-registry": false,
"dns": ["ip|redacted"],
"dns-opts": [],
"dns-search": ["domain|redacted"],
"exec-opts": [],
"experimental": true,
"fixed-cidr": "redacted",
"graph": "deprecated|redacted",
"group": "",
"hosts": ["endpoint|redacted"],
"insecure-registries": ["host_port_or_cidr|redacted"],
"labels": [],
"live-restore": true,
"log-driver": "",
"log-level": "",
"max-concurrent-downloads": 3,
"max-concurrent-uploads": 5,
"metrics-addr":"endpoint|redacted",
"mtu": 0,
"pidfile": "redacted",
"raw-logs": false,
"registry-mirrors": ["https://dockerhub.icu"], "shutdown-timeout": 15, "storage-driver": "", "storage-opts": [], "swarm-default-advertise-addr": "endpoint|redacted", "tlscacert": "redacted", "tlscert": "redacted", "tlskey": "redacted", "tlsverify": true
}
 
 
 
4.docker-compose up -d
0
 
 
期间会询问是否要分析log 同意 即可
0
 
 
5.查看docker 并访问
0
6.启动时 如一直loading确认下ip地址是否有更新,如不同 需更新.env -》
0
 
docker-compose down -先停止
docker-compose up -d -再启动
 
7.env配置
0
 
 
8.确认本地mysql 可以正常登录
设置sonic数据库,字符集为utf8_general_ci,
同时.env中 mysql中的用户名和密码为本地可以访问的用户名和密码
0
 
 
9...注册 登录-启动后-稍等一会儿
0
 
0
 
 
9..配件agent-准备条件
java,android,adb,appium,npm,tidevice,adbkit,mysql,python client appium 等
 
10.复制 appkey-更新至 application-sonic-agent.yml
0
0
 
 
11.效果,期间会在 移动端 安装 sonic 和uiautomator2 -允许安装即可
 
0
 
 
 
0
 
posted @ 2022-06-12 16:30  yanhuidj  阅读(266)  评论(0编辑  收藏  举报