Software-defined networking (SDN) and network virtualization provide a solution for the deficiency of the traditional networks such as lack of scalability and difficulty of network management. However, the solution is restricted by the speed of development, testing, and deployment. As a result, the current technology lack of rapid migration and extension could not satisfy the flexible dynamic requirements of different users to the network. To address these issues, a SDN controller platform based on the Docker engine is presented for network virtualization. The system architecture of the SDN controller based on Docker is carried out for the detailed design of virtualization solution. The flexible integration and extension of the network is realized through the virtualization of the physical resources. And the speed of deployment, the mobility and the extensibility are improved by the proposed method.