| The explosive growth of Internet of Things(Io T)promotes the emergence of edge computing,a new computing model,which makes cloud services closer to the mobile devices.Among many features of edge computing,providing a lower response time is one of the most important features.In order to keep a low service response time,the applications need to run on the edge device closest to the mobile device as much as possible,even on the mobile device.In the edge computing scenario,mobile devices based on Android operating system are widely used.These devices and edge devices usually use processors with different architectures,and the operating systems of the devices are also different.This hinders the migration of applications,resulting in the application of edge devices cannot be migrated to mobile devices.Existing technology cannot solve this problem.Some existing technologies only focus on the migration of applications between edge devices,but ignore the migration of applications to mobile devices.At present,there is no solution for the migration from edge to mobile in industry.In this paper,we introduce a container migration system for edge computing.This system combines Android operating system and Docker container technology,and can migrate Docker containers from edge to mobile.The system has the following features: 1)combining Android operating system with Docker container technology,and innovatively running Docker container on Android operating system;2)transplanting Checkpoint and Restore in User-space(CRIU)to Android operating system to support container migration;3)using Android application to manage containers and images simplifies the operation;4)using crun container runtime instead of runc container runtime in Android operating system improves the container startup speed and reduces the resource occupation;5)realizing cross-architecture container migration,and the Docker container at the edge devices can be migrated to the mobile devices.The system breaks the barrier between the edge and the mobile,and enables heterogeneous devices to complete some tasks better.Experimental results show that Docker container and CRIU tools are successfully transplanted to Android operating system.Android devices on the mobile can successfully run Docker containers,and support container migration across architectures.Both migrating containers and restoring containers can be completed in 6 seconds.In addition,the efficiency of container startup is improved by more than 40% after using crun container runtime instead of runc container runtime on Android operating system. |