How do you clean a dishwasher?
Start with an empty dishwasher. Place a cup of white vinegar in a dishwasher-safe container on the upper rack of the machine. Run the dishwasher through a hot-water cycle.