I have used two things which work well just depends on which I grab first.
1-Sprinkle some baking soda in the container with some warm water and let it soak.
2-Splash some white vinegar with some warm water in the container and let it soak.
I find my regular dishwasher cycle gets rid of most smells in my containers because I use the full normal cycle with the heated rinse. But if you are not lucky enough to have a dishwasher the two suggestions above should help.
Hope I helped!