Based on edge computing technology and Docker container virtualization theory, this paper designs and implements the universal service function of the global IOT intelligent gateway in power system. First, the overall design method of the power intelligent gateway system is studied from the architecture design, service implementation method, and gateway and cloud collaboration method, etc., and then realize the general service in the edge computing service of the intelligent gateway of the power system. The service is realized through Python language and through Docker General service for container deployment. In order to solve the deficiencies of Docker in terms of interaction, a Docker application interaction architecture based on the MQTT protocol is proposed and implemented to improve the coordination and scalability of the microservice architecture.