作者: Hou Xiaoqiang , Chang Xiaoyu , Ni Shunyuan
DOI:
关键词:
摘要: The invention provides an application deployment method and system based on a container technology. comprises the steps that physical machine obtains establishment starting command which carries -P parameter, first -e parameter second parameter; establishes containers according to command. Through utilization of externally exposed ports can be automatically mapped one by one, corresponding do not need appointed, so resource competition in port layer does exist; through environment variable established applications obtain serving actual addresses; configuration center address. service registering address from center. After address, addresses are registered at center, thereby finishing publishing service.