- Combine the vinegar, sugar, salt, allspice, and cloves in a small pot and bring to a boil. Once the sugar has completely dissolved, after about 1 minute, remove from the heat and set aside.
- Pack the onion and cabbage in a large pickling jar or an airtight container. Pour the vinegar mixture over the vegetables. If the vegetables are not completely submerged, add more vinegar until they are. Seal the container and shake to fully combine. Refrigerate for 3 to 4 hours before using. Leftovers will keep in the fridge for 7 to 10 days.