Acetone and HNO3 are uncompatible chemicals...whitin seconds or minutes, depending on the ratio of reactants, initial temperature, and % concentration, the mix starts to runnaway-boil evolving heat and nitrogen oxides. If entrapped, the pressure may build up to rupture the container and spread hot flamable and explosiove NxOy/aceton vapours... This is part of the process of making nitroform (trinitromethane, TNM) from isopropanol or acetone and concentrated HNO3 in excess. The acetone exist as an enol form that adds HNO3 easily to form a nitrocompound. Then with oxydoredox reactions the reactions and products becomes more complex (nitrosation, oxydation to nitro, decarboxylation, hydrolysis, ...) and you end up with acetic acid and TNM. If you don't use exces concentrated HNO3, you get intermediary complex products that polymerises by condensations (nitroacetones are selfcondensing reactive stuffs).
Preparation of trinitromethane - Sciencemadness
https://www.sciencemadness.org/whisper/viewthread.php?tid=3061