Font Size: a A A

Research On Live Migration Of Docker Container

Posted on:2018-01-30Degree:MasterType:Thesis
Country:ChinaCandidate:R JuFull Text:PDF
GTID:2428330515997944Subject:Information security
Abstract/Summary:PDF Full Text Request
With the development of the Docker engine,its advantages such as rapid deployment,light-weight and straight-forward management have attracted many cloud computing vendors to apply it onto the cloud platform.The CaaS(Container as a Service)technology,represented by Docker,is becoming the new form of Cloud Computing.However,with the expansion of cloud platforms,demands for security features in containers are quickly growing,especially for defending against DDOS attacks.The load balancing technologies play an important role in the DDOS attack defense,and this paper focuses on the live migration technology which supports load balancing.Live migration is not only the basis of load balancing technologies,but also an important guarantee for cluster failure management and infrastructure maintenance.The live migration of traditional virtual machines are quite mature by now,but containers are essentially a special process whose dependencies on the host are much higher when compared to the virtual machine.Consequently,the VM live migration mechanisms cannot be directly applied to Docker containers.In fact,there isn't any fully practical live migration program or tool for containers by now.Therefore,based on the insights of differences between the traditional virtual machine and Docker container,this paper proposes a live migration mechanism for Docker containers.The main ideas are as follows:1.This essay proposes a live migration scheme for Docker containers based on CRIU(Docker checkpoint&restore).The migration of the container running states is implemented according to container structure.2.A command rebuilding algorithm is proposed,to migrate the container configuration.3.Storage volume migration algorithms are proposed for both shared and non-shared storage environments.These algorithms are carried out upon the normalization scheme for volume sources described in this essay.4.The design and implementation of a live migration tool for Docker container,which includes both shared and non-shared storage modes.The tool can implement the live migration of Docker container in either modes.This paper proposes novel schemes to solve the migration problem of Docker container configurations and volumes.Also implemented is a practical live migration automation tool of Docker container.Experimental results show that the proposed scheme can migrate all operation status,file system,network states and volumes from given Docker containers.In addition,the tool can ensure short shutdown time,little user impact,and data transfer security under different storage modes.
Keywords/Search Tags:Docker container, live migration, CRIU
PDF Full Text Request
Related items