If you're out of your regular dishwasher detergent and can't get some more dishwasher detergent you can run some regular dish soap through the dishwasher if you need too.
Although if you use regular dish detergent in the dishwasher you might need to run the dishwasher through a second rinse cycle to remove all the soap from the dishes.
Dishwasher detergent makes less suds than the regular dish detergent so that's the only difference between the two.
I've also used some laundry detergent powder before in my dishwasher when I ran out of my regular dishwasher detergent and it did work just fine.
Or you can use some vinegar in the dishwasher to clean your dishes with the dishwasher or just use any other liquid or powder soap to wash dishes in the dishwasher.