I apologize for the inaccuracy of my previous response. The boiling times for eggs vary a bit according to different recipes, whether the eggs are refrigerated, their size and even the type of pan used. By most accounts however, it takes 4 to 6 minutes to get a soft boiled egg (runny or very soft yolk), and 8 to 12 minutes for a hard boiled egg (solid cooked yolk). These times assume that the egg is cooked in a pot with water, under medium-small heat which keeps water at a slow boil, and that they have been inserted into the pot after the water was brought to a boil.

After boiling for the allowed time, it is useful to bring the temperature of the eggs down immediately, to prevent further cooking of the egg inside the shell. Regarding your initial point of the egg sticking to its shell after boiling, this is mostly due to how fresh the egg is. Generally, fresh eggs will be harder to peel cleanly, while older eggs will have the shell separate from the egg white more easily.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence