The invention relates to a network security experiment platform construction method based on Docker. A platform is divided into three parts, wherein the three parts are respectively responsible for experiments, functions of node virtualization, experimental data processing and the like are realized. An experimenter uploads experiment related content through an ASG module. The platform stores the experiment content, the mirror image, the topological structure and experimenter information, experiment environment deployment is carried out through the VG module by using the Docker technology, andexperiment data are continuously collected through the DAG module. The method has higher performance and efficiency, and large-scale network simulation and quick construction of a large-scale networkare realized. Therefore, the function of customizing the network topology structure is realized, the memory, the system version and the like of the machine can be customized, and the experiment is more real. Meanwhile, the auxiliary function is perfected, the attack and defense assessment technology researched in the past is fused into a network security experiment platform, and a visual technology is combined, so that an experiment result is more visual and easier to understand.