XU Ke,ZHANG Xinyou,Li Zehui,et al.Design and Implementation of Multi-container Construction Management Tool by Docker Compose[J].Journal of Chengdu University of Information Technology,2020,35(05):505-508.[doi:10.16836/j.cnki.jcuit.2020.05.004]
面向Docker Compose多容器构建管理工具的设计与实现
- Title:
- Design and Implementation of Multi-container Construction Management Tool by Docker Compose
- 文章编号:
- 2096-1618(2020)05-0505-04
- 关键词:
- SSM框架; 可视化编辑; YAML; Docker Compose
- Keywords:
- SSM framework; visual editing; YAML; Docker Compose
- 分类号:
- TP311.1
- 文献标志码:
- A
- 摘要:
- 在多容器管理中,Docker Compose有着举足轻重的地位。但在使用Compose进行多容器管理时,由于其语法复杂性,YAML(YAML ain’t markup language)文件对格式的严格要求及没有对可能存在于模版文件中的错误进行有效的检测,从而易导致多容器服务构建失败。为了提高工作效率,减少主观错误的发生,设计一个面向Docker Compose的多容器构建管理工具是非常必要的,以方便用户持续地集成和快速部署。该工具利用SSM框架、可视化编辑、错误检测等关键技术进行实现。测试结果表明该工具使用方便,容器编排效率有明显提高。
- Abstract:
- Docker Compose plays an important role in multi-containers management. However, when using Compose to manage multiple containers, due to its syntax complexity, the strict requirements of yaml(yaml ain’t markup language)file on the format and lack of inspection of errors that may exist in the template file, these will lead to the failure of multi-containers service construction. In order to improve work efficiency and reduce subjective errors, it is necessary to design a multi-container build and management tool by Docker Compose. The tool will facilitate the continuous integration and rapid deployment for users. This tool is achieved by using SSM framework, visual editing, error detection and other key technologies. The test results show that the tool is easy to use and the efficiency of container arrangement is improved obviously.
参考文献/References:
[1] 伍阳.基于Docker的虚拟化技术研究[J].信息技术,2016(1):121-123.[2] 高礼,高昕.Docker技术在软件开发过程中的应用研究[J].软件,2016,37(3):110-113.
[3] List M.Using Docker Compose for the Simple Deployment of an Integrated Drug Target Screening Platform[J].Nephron Clinical Practice,2017,14(2):643-7.
[4] 浙江大学SEL实验室.Docker:容器与容器云[M].北京:人民邮电出版社,2015:230-234.
[5] 耿朋,陈伟,魏峻.面向Dockerfile的容器镜像构建工具[J].计算机系统应用,2016,25(11):14-21.
[6] 李洋.SSM框架在Web应用开发中的设计与实现[J].计算机技术与发展,2016,26(12):190-194.
[7] 陈颖慧.基于SSM的英语学习网站的设计与实现[D].武汉:华中科技大学,2019.
[8] 曹珍,杨帆.基于SSM框架的商户管理平台设计与实现[J].计算技术与自动化,2017,36(4):119-121.
[9] Merkel D.Docker:Lightweight linux containers for consistent development and deployment[J].Linux Journal,2014,239:2.
[10] 王艳清,陈红.基于SSM框架的智能web系统研发设计[J].计算机工程与设计,2012,33(12):4751-4757.
[11] 徐震,徐士进,董少春,等.油田地理信息系统在线编辑功能的设计与实现[J].科学技术与工程,2009,9(14):3964-3968.
[12] 王刘飞.Docker虚拟化安全隔离系统设计与实现[D].西安:西安电子科技大学,2018.
备注/Memo
收稿日期:2019-12-04
基金项目:国家自然科学基金资助项目(61802319)