So, for the last 2 weeks or so, Max has been getting into the trash can. It started with him just sniffing the can. Whenever I would catch him, I would say "Eh eh". He would immediately stop the behavior. It has gradually escalated into him getting things out of the trash while I'm not here. He never tore anything up, but he would just get things to eat out of it. I then decided to just relocate the object of his affection to another room that I could close off. It's pretty inconvenient but at least he's not getting into it anymore. I also bought some "dog repellent" spray that I used on the can.
Well today, I forgot to put the can into the other room.

I was gone maybe an hour and a half. When I opened the door, all I could do was stare. There was trash EVERYWHERE. I didn't even know that the trash can could hold that much trash.
So my question is, what can I do to curb this behavior? I leave him things to do while I'm gone. I know that I could just continue to keep the can away from him, but I would really like to try and train this out of him if possible. I'm just at a loss right now, and cannot figure out how to go about this. I would like to use more positive methods if possible. I don't hit or use anything other than the rarely used verbal corrections (Eh eh, no, etc). Any help will be appreciated. So hit me with some ideas. I also comtemplated getting some of the bitter apple spray, but I'm not sure if that would work unless I sprayed it on every piece of trash that goes into the can. Thanks.