软件测试学习笔记丨 Docker 搭建 Testlink
本文转自测试人社区,原文链接:https://ceshiren.com/t/topic/30232
Docker 搭建 Testlink
1.使用 utuntu 搭建 docker 环境
1.卸载旧版本 docker
$ apt-get remove docker docker-engine docker.io containerd runc
2.升级工具
复制代码
3.安装 Docker Engine, containerd, and Docker Compose.
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
4.测试
docker run hello-world
5.添加国内镜像源 add registry
查看是否有 /etc/docker/daemon.json,若无新增,并添加如下内容
复制代码
之后重启服务
复制代码
执行 docker info 看到 registry mirrors 如配置内容,说明配置成功。
6.查看 docker 版本号

2. 拉取 mariadb 镜像,并查看本地镜像。

3. 运行 mariadb 容器,并查看运行的容器。

拉取 TestLink 镜像,并查看本地镜像。


运行 TestLink 容器,并查看运行的容器。

TestLink 界面截图。


软件测试开发免费视频教程分享
版权声明: 本文为 InfoQ 作者【测试人】的原创文章。
原文链接:【http://xie.infoq.cn/article/aaf96d399e42f2eb1a9cb5665】。文章转载请联系作者。
评论