Cut the cabbage: Chop the red cabbage into large pieces and remove the thick ribs.
Rub with salt: In a large bowl, rub the cabbage with the rock salt for 3–4 minutes. It softens and starts to release its liquid.
Fill the jar: Put the garlic cloves at the bottom of the jar, then fill it with the cabbage, pressing it down firmly.
Make the brine: Mix the vinegar, water, citric acid (and/or lemon juice) and the optional sugar.
Top it off: Pour the mixture into the jar so the cabbage is completely under the liquid. Add a little more water if needed.
Weigh it down: Place a small clean lid, stone or similar weight on top to keep the cabbage submerged.
Let it rest: Close the lid. Leave at room temperature for 2–3 days (gently shake the jar once a day), then move it to the refrigerator.
Serve: For the best texture, start eating it after 5–7 days.