To clean your washing machine with white vinegar or vinegar in general put some baking soda into your detergent dispenser if you have one and then put the vinegar into the washing machines drum and run it through a wash cycle.
If you don't have a detergent dispenser to put the baking soda then just put the baking soda into the drum with the vinegar to get the washing machine cleaned.
You can clean the washing machine with just vinegar but it cleans better for some reason when you add the baking soda along with the vinegar to the washing machine.