A doubly Q-switched Nd:GGG laser emitting 1064 nm wavelength with an acousto-optic modulator (AOM) and a few-layer MoS2 saturable absorber (SA) is presented to study the pulsed laser characteristics. The average output power, the pulse width, the pulse energy and the peak power versus pump power for different modulation frequency of AOM are measured. In comparison with singly passive Q-switched laser (SPQSL) with MoS2 SA, the doubly Q-switched laser (DQSL) can effectively shorten the pulse width, improve the pulse peak power and the stability. The shortest pulse width is 150.1 ns and the maximum peak power reaches 33.7 W. The maximum pulse compression ratio 5.8 and the highest peak power enhancement factor 21.3 are obtained, respectively.