The invention discloses a nondestructive container detection method based on the Compton gamma light-nuclear resonance fluorescence. The method comprises the following steps: (1) putting a Compton gamma light source on one side of a container to supply gamma light beams, and putting energy spectrometers on the two sides of the container, wherein included angles of 90 degrees and -90 degrees are formed between the energy spectrometers in the horizontal plane and the direction of an incident gamma beam respectively for performing energy spectrum measurement; (2) identifying nuclear resonance fluorescence characteristic peaks of various nuclides according to the distribution of measured energy spectra so as to further obtain possible nuclide type information in the container; (3) putting a flow intensity detector on the other side, opposite to the side in which the light source is arranged, of the container, and measuring the number of rays passing through different container positions by horizontally and vertically scanning the container to obtain position information and ray intensity information; and (4) putting nuclide evidential foils with different thicknesses between the container and the flow intensity detector, repeatedly executing the step (3), and comparing the ray intensity value with the ray intensity value measured in the step (3). According to the method, the various nuclides can be identified quickly and accurately, the signal to noise ratio is improved, the photographic reproduction dosage is reduced, and the scanning time is shortened.