摘要
随着轻量级虚拟化技术Docker的迅速发展及其Docker集群管理工具Swarm的出现,Docker在集群中的应用越来越广泛。但是目前Docker容器还无法在Swarm集群中进行迁移,为Docker在集群中的使用带来很多不便。文中提出了利用Docker私有仓库进行容器迁移的技术在一定程度上解决了这种需求,一方面实现了集群各节点之间的负载均衡,另一方面也提高了Swarm集群的可用性。
With the development of lightweight virtualization technology of Docker and the emergence of Docker cluster management tool of Swarm,Docker used more and more widely in the cluster. But the Docker container cannot be migrated in the Swarm cluster at present,which takes a lot of inconvenience for the use of Docker in the cluster. This paper puts forward a technology of migrate the Docker container using Docker private registry solving the demand in some way,which on the one hand realized the load balancing of the Swarm cluster and on the other hand enhanced the usability of the Swarm cluster.
出处
《信息技术》
2016年第9期156-160,共5页
Information Technology