摘 要:软件产品的传统部署与维护一直是困扰技术人员的难题。随着公司业务的不断拓展,软件产品的部署与更新不断增加,该问题更加突出(部署步骤繁琐,耗费大量的人力财力)。本文通过研究Docker 容器技术,运用Docker-Compose 技术与Shell 脚本结合对公司软件产品进行了升级改造,简化了安装部署与维护。同时将其运用于公司软件产品的研发、测试、部署与产品迭代(业务平台升级)。
中图分类号:TP31 文献标识码:A 文章编号:2096-4706(2018)10-0075-03
Docker-Compose Research on Docker Technology
JIANG Anguo,WANG Jinquan,BIAN Jinwei
(Sichuan Tievd Network Service Co.,Ltd.,Chengdu 610041,China)
Abstract:The traditional deployment and maintenance of software products has always been a puzzle for technicians. Withthe continuous expansion of the company’s business,the deployment and update of the software products are increasing,andthe problem is more prominent(the tedious deployment steps,a large amount of manpower and financial resources). Throughthe research of docker container technology,docker-compose technology and shell script are used to upgrade the software productsof the company and simplify the installation and maintenance. At the same time,it is applied to R&D,testing,deployment andproduct iteration (business platform upgrade).
Keywords:docker container;docker-compose;Linux system
参考文献:
[1] 杨保华,戴王剑,曹亚仑.Docker 技术入门与实战 [M].第二版. 北京:机械工业出版社,2017.
[2] [ 美] 乔约翰斯顿.Docker 生产环境实践指南 [M]. 北京:人民邮电出版社,2016.
[3] 彭东稳.Docker:Compose 架构设计与实现 [OL].http://www.ywnds.com/?p=7592,2016,12,27.
作者简介:
蒋安国(1989.05-),男,汉族,四川遂宁人,主管,研究方向:docker 技术。
王金泉(1986.12-),男,汉族,甘肃金塔人,品控工程师,本科,研究方向:docker 技术。