Mix the shredded cabbage and onion in a bowl. Add the dill to the bowl. Wrap the carraway, mustard, bay leaf, and peppercorn in cheese cloth. In a pot mix the water, vinegar, salt, sugar, and spice bundle. Bring the vinegar mixture to a boil and pour over the cabbage. Cover, cool, and refrigerate overnight. Extra cabbage will keep for weeks in an airtight container.