This is so funny.  I had a dog once that could jump over just about anything and I never once thought of vacuum aversion therapy.  Check out this video and let your imagination make your own plans for containment.