Docker 安装最新版禅道16.5版本

Posted wst021sh

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Docker 安装最新版禅道16.5版本相关的知识,希望对你有一定的参考价值。

前言

禅道是第一款国产的开源项目管理软件。Docker

核心管理思想基于敏捷方法scrum,内置了产品管理和项目管理,同时又根据国内研发现状补充了测试管理、计划管理、发布管理、文档管理、事务管理等功能,在整个软件研发过程中,将需求、任务、Bug、用例、计划、发布等要素有序的跟踪管理起来,完整地覆盖了项目管理的核心流程。


系统平台

Ubuntu 18.04.5 LTS

Docker

Docker version 20.10.14

Docker


查看镜像版本

选择最新的  zentao:16.5 版本

Docker

Docker

#
root@scm:/home/scm#
root@scm:/home/scm# docker pull easysoft/zentao:16.5
16.5: Pulling from easysoft/zentao
284055322776: Pull complete
a0c0c66c5405: Pull complete
0ed9f43c329a: Pull complete
a9d80da3d5c7: Pull complete
da56439af8b5: Pull complete
8bfbe62dd6d0: Pull complete
484698922f05: Pull complete
a634885ab7a5: Pull complete
cbd9db393bbd: Pull complete
3b0f445dc1e2: Pull complete
63ec8514824b: Pull complete
3314e7525fe2: Pull complete
e4f1ec8b4581: Pull complete
ec3989344d39: Pull complete
5ce1edaacda6: Pull complete
c39273683586: Pull complete
7cf945a9c6f8: Pull complete
4e11182155eb: Pull complete
8582c313b6ad: Pull complete
Digest: sha256:8b15f8b4138dee3666be8fb3891681d95fa6c7a585ae087b92836eae7bb17b08
Status: Downloaded newer image for easysoft/zentao:16.5
docker.io/easysoft/zentao:16.5
root@scm:/home/scm#
root@scm:/home/scm#
root@scm:/home/scm#

运行容器

Docker

#
root@scm:/home/scm#
root@scm:/home/scm# docker run --name myzentao -p 8090:80 -v /home/scm/zentao/chandao:/www/zentaopms -v /home/scm/zentao/chandao/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=abcd1234 -d 38b5e1a66ae8
e41e9d381b0968b41bcfb4669f3184b434227b05f172dbdbc942366b6bfa78e7
root@scm:/home/scm#
root@scm:/home/scm#
root@scm:/home/scm# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e41e9d381b09 38b5e1a66ae8 "/.docker_init.sh" 19 seconds ago Up 18 seconds 0.0.0.0:8090->80/tcp, :::8090->80/tcp myzentao
468a41b62b22 mytomcat:tomcat8 "/root/run.sh" 10 months ago Exited (137) 10 months ago mytomcat_1
root@scm:/home/scm#
root@scm:/home/scm#
root@scm:/home/scm# docker container ls -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e41e9d381b09 38b5e1a66ae8 "/.docker_init.sh" 29 seconds ago Up 28 seconds 0.0.0.0:8090->80/tcp, :::8090->80/tcp myzentao
468a41b62b22 mytomcat:tomcat8 "/root/run.sh" 10 months ago Exited (137) 10 months ago mytomcat_1
root@scm:/home/scm#
root@scm:/home/scm#

访问系统

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

Docker

可以看到,使用的数据库是  MariaDB Server version: 10.1.48-MariaDB-0ubuntu0.18.04.1 ,使用上跟 MySQL 一样。

Docker

root@scm:/home/scm#
root@scm:/home/scm# docker exec -it e41e9d381b09 /bin/bash
root@e41e9d381b09:/#
root@e41e9d381b09:/# ls -lh
total 76K

root@e41e9d381b09:/#
root@e41e9d381b09:/#
/#
root@e41e9d381b09:/#
root@e41e9d381b09:/# ps -ef|grep mysql
root 221 1 0 14:55 ? 00:00:00 /bin/bash /usr/bin/mysqld_safe
mysql 368 221 0 14:55 ? 00:00:03 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/x86_64-linux-gnu/mariadb18/plugin --us er=mysql --skip-log-error --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
root 369 221 0 14:55 ? 00:00:00 logger -t mysqld -p daemon error
root 503 487 0 15:17 pts/0 00:00:00 grep --color=auto mysql
root@e41e9d381b09:/#
root@e41e9d381b09:/# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \\g.
Your MariaDB connection id is 75
Server version: 10.1.48-MariaDB-0ubuntu0.18.04.1 Ubuntu 18.04

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type help; or \\h for help. Type \\c to clear the current input statement.

MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| zentao |
+--------------------+
4 rows in set (0.00 sec)

MariaDB [(none)]>
MariaDB [(none)]>
MariaDB [(none)]>
MariaDB [(none)]> use zentao;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [zentao]> show tables;
+---------------------------+
| Tables_in_zentao |
+---------------------------+
| view_datasource_10 |
| view_datasource_11 |
| view_datasource_12 |
| view_datasource_4 |
| view_datasource_41 |
| view_datasource_46 |
| view_datasource_5 |
| view_datasource_6 |
| zt_account |
| zt_acl |
| zt_action |
| zt_activity |
| zt_api |
| zt_api_lib_release |
| zt_apispec |
| zt_apistruct |
| zt_apistruct_spec |
| zt_asset |
| zt_assetlib |
| zt_attend |
| zt_attendstat |
| zt_auditcl |
| zt_auditplan |
| zt_auditresult |
| zt_baseimage |
| zt_baseimagebrowser |
| zt_basicmeas |
| zt_block |
| zt_branch |
| zt_browser |
| zt_budget |
| zt_bug |
| zt_build |
| zt_burn |
| zt_case |
| zt_casestep |
| zt_cmcl |
| zt_company |
| zt_compile |
| zt_config |
| zt_cron |
| zt_deploy |
| zt_deployproduct |
| zt_deployscope |
| zt_deploystep |
| zt_dept |
| zt_design |
| zt_designspec |
| zt_doc |
| zt_doccontent |
| zt_doclib |
| zt_domain |
| zt_durationestimation |
| zt_effort |
| zt_entry |
| zt_expect |
| zt_extension |
| zt_faq |
| zt_feedback |
| zt_feedbackview |
| zt_file |
| zt_gapanalysis |
| zt_group |
| zt_grouppriv |
| zt_history |
| zt_holiday |
| zt_host |
| zt_im_chat |
| zt_im_chat_message_index |
| zt_im_chatuser |
| zt_im_client |
| zt_im_conference |
| zt_im_conferenceaction |
| zt_im_message |
| zt_im_message_backup |
| zt_im_message_index |
| zt_im_messagestatus |
| zt_im_queue |
| zt_im_userdevice |
| zt_intervention |
| zt_issue |
| zt_job |
| zt_kanban |
| zt_kanbancard |
| zt_kanbancell |
| zt_kanbancolumn |
| zt_kanbangroup |
| zt_kanbanlane |
| zt_kanbanregion |
| zt_kanbanspace |
| zt_lang |
| zt_leave |
| zt_lieu |
| zt_log |
| zt_measqueue |
| zt_measrecords |
| zt_meastemplate |
| zt_meeting |
| zt_meetingroom |
| zt_module |
| zt_mr |
| zt_mrapproval |
| zt_nc |
| zt_notify |
| zt_oauth |
| zt_object |
| zt_opportunity |
| zt_overtime |
| zt_pipeline |
| zt_planstory |
| zt_process |
| zt_product |
| zt_productplan |
| zt_programactivity |
| zt_programoutput |
| zt_programprocess |
| zt_programreport |
| zt_project |
| zt_projectcase |
| zt_projectproduct |
| zt_projectspec |
| zt_projectstory |
| zt_relation |
| zt_relationoftasks |
| zt_release |
| zt_repo |
| zt_repobranch |
| zt_repofiles |
| zt_repohistory |
| zt_report |
| zt_researchplan |
| zt_researchreport |
| zt_review |
| zt_reviewcl |
| zt_reviewissue |
| zt_reviewlist |
| zt_reviewresult |
| zt_risk |
| zt_score |
| zt_searchdict |
| zt_searchindex |
| zt_serverroom |
| zt_service |
| zt_solutions |
| zt_sqlview |
| zt_stage |
| zt_stakeholder |
| zt_story |
| zt_storyestimate |
| zt_storyreview |
| zt_storyspec |
| zt_storystage |
| zt_suitecase |
| zt_task |
| zt_taskestimate |
| zt_taskspec |
| zt_team |
| zt_testreport |
| zt_testresult |
| zt_testrun |
| zt_testsuite |
| zt_testtask |
| zt_todo |
| zt_traincategory |
| zt_traincontents |
| zt_traincourse |
| zt_trainplan |
| zt_trainrecords |
| zt_trip |
| zt_user |
| zt_usercontact |
| zt_usergroup |
| zt_userquery |
| zt_usertpl |
| zt_userview |
| zt_vm |
| zt_vmtemplate |
| zt_webhook |
| zt_weeklyreport |
| zt_workestimation |
| zt_workflow |
| zt_workflowaction |
| zt_workflowdatasource |
| zt_workflowfield |
| zt_workflowlabel |
| zt_workflowlayout |
| zt_workflowlinkdata |
| zt_workflowrelation |
| zt_workflowrelationlayout |
| zt_workflowreport |
| zt_workflowrule |
| zt_workflowsql |
| zt_workflowversion |
| zt_zoutput |
| ztv_dayactions |
| ztv_daybugopen |
| ztv_daybugresolve |
| ztv_dayeffort |
| ztv_daystoryclose |
| ztv_daystoryopen |
| ztv_daytaskfinish |
| ztv_daytaskopen |
| ztv_dayuserlogin |
| ztv_executionsummary |
| ztv_productbugs |
| ztv_productstories |
| ztv_projectbugs |
| ztv_projectstories |
| ztv_projectsummary |
| ztv_projectteams |
+---------------------------+
210 rows in set (0.01 sec)

MariaDB [zentao]>
MariaDB [zentao]>

初始化设置完成,数据库里共有 210 张表。

到此,最新版本的禅道就安装完成了,希望对各位同学有所帮助。


以上是关于Docker 安装最新版禅道16.5版本的主要内容,如果未能解决你的问题,请参考以下文章

项目环境搭建Docker+k8s十三 || 项目管理工具"禅道"部署

禅道docker化(Centos7.2)

禅道docker化(Centos7.2)

docker-compose安装禅道

十八docker部署禅道

Apple Safari 16.5