Peel and halve the onion. Bring 1/2 litre water and 1 teaspoon salt to the boil. Add onion, caraway and 1 bay leaf. Add eggs and cook for 10 minutes. Peel and halve the shallots.
Drain eggs, quench and peel. Layer eggs, shallots and 3 bay leaves in the glass. Bring 300 ml water and 1/2 teaspoon salt to the boil. Fill the glass with it and close it. Leave to soak for 1-2 days.
It goes well with brown bread with butter and mustard.