linux下部署testlink

参考链接:

虚拟机配置固定IP地址:

https://segmentfault.com/a/1190000008743806

centos7下部署testlink:

https://www.jianshu.com/p/80c16cd331eb

1. 拉db镜像

sudo docker pull bitnami/mariadb

2. 拉testlink镜像

sudo docker pull bitnami/testlink

3 创建网络

sudo docker  network create  testlink-tier
4. 创建数据库卷
sudo docker volume create --name mariadb_data

5. 启动数据库容器
sudo docker run -d --name mariadb -e ALLOW_EMPTY_PASSWORD=yes -e MARIADB_USER=bn_testlink -e MARIADB_DATABASE=bitnami_testlink --net testlink-tier --volume mariadb_data:/bitnami  bitnami/mariadb:latest

6. 创建testlink卷
sudo docker volume create --name testlink_data

7. 启动testlink容器
sudo docker run -d --name testlink -p 8000:80 -p 8443:443 -e ALLOW_EMPTY_PASSWORD=yes -e TESTLINK_DATABASE_USER=bn_testlink -e TESTLINK_DATABASE_NAME=bitnami_testlink --net testlink-tier --volume testlink_data:/bitnami bitnami/testlink:1.9.17

8. 访问 http://<docker host ip>:8000
    用户名:user
    密码:bitnami

 

原文地址:https://www.cnblogs.com/yoyoma0355/p/14552111.html