With the widespread use of IoT sensors and devices, it has become common to store data in the cloud. The huge and various types of data with different purposes and forms are not directly stored in the cloud but are sent to the cloud via edge computing devices. Applications are running in containers and VMs to collect data from edge computing devices and sent to the cloud. However, the current deployment and migration mechanisms for containers and VMs does not consider the conventions and regulations of the applications and data they contain. The problem is that it is easy to deploy or migrate a container and VM even if the edge computing device to which it is deployed or migrated violates the licensing terms of the application it contains, the terms of the organization, or the laws and regulations of the country in which it is located. We previously proposed a data-auditing migration control mechanism for VMs. The same problem was expected with containers as the number of edges increased. Therefore, this paper proposed a data-auditing mechanism for container migration. Implementation and evaluation of the proposed system in an edge computing environment showed that adding the proposed mechanism has minimal impact on migration time and is sufficiently practical.