With the help of Docker virtualization technology, this paper builds a special computing service model for the gateway. Based on the analysis of different applications of edge computing in the existing power industry, it comprehensively sorts out Python language and Docker technology to form a unique service system, and makes a reasonable design experiment on the specific related system displayed by the final edge computing network. The final test results show that the model designed in this paper can accurately obtain the final coordinate position information of grounding knife and the actual rotation angle of the knife. At the same time, it can also calculate the loss rate and defect rejection rate according to the final processing information of the gateway image, and then choose a more appropriate convolution kernel size, which is 5×5. It can successfully handle the logic confusion in Docker’s power gateway design process. Following this idea to complete the follow-up work can ensure the final realization of the design goal, that is, the optimal design of power gateway based on edge computing.