If this behavior starts you can stop it with supervision and your leash and training collar and do your NO correction as your puppy or dog goes near the container. Another way is to use a mousetrap, the wooden ones with the spring release. Put the trap on top of the trash, cover it with a tissue and leave the area and wait. The trap will not catch most dogs, but it is no longer fun, instead rather frightening to investigate the trash. The best part is that we had nothing to do with the correction, they did it all by themselves.
Dogs don t handle change well.
In a new house they no longer know the rules, which door to use to go outside, where to sleep, and there are new smells and noises. It should take only a few days for your dogs to start acting normal again and establish a routine. Major changes that can affect your dog are moving, death in the family or divorce. To a dog these changes can be traumatic because the order of the pack has changed. Your question along with the answer will be published.