What can I do in order for the eggs not to crack while boiling?

Leave the eggs outside the refrigerator for about 20 minutes before boiling. Alternatively, just add a bit of vinegar into the water.