Pickled red cabbage

INGREDIENTS:
1 red cabbage, 2 bay leaves, 5 cloves smashed garlic, 2 tbsp sugar, 1 tsp sea salt, 1 tsp cracked black pepper, 200ml cider vinegar, 200ml water