A method of thermal sterilization of a plastic container packed with food to obtain a thermally sterilized packed container with an acceptable configuration, which comprises filling the container with food, sealing the container, either or both these steps including selecting an initial headspace volume and an amount of gas, taking into account an initial vacuum level, if any, at sealing, such as to permit reformation of the container bottom wall without significant side wall panelling, filling the container with food at a temperature, sealing the container, thermally sterilizing the packed container in a continuous retort operated at a temperature and pressure for a time sufficient to sterilize the container and its contents and to cause bulging of the container bottom wall, cooling the container and its contents, and during the cooling step, reforming the bulged container bottom wall to attain an acceptable container configuration by controlling the pressure external of the container and the cooling conditions, said reforming step being effected in a continuous cooler at a pressure which is less than that employed during the sterilizing step, said controlling step including providing that the plastic of the bottom wall of the container is at a reformable temperature at which the plastic is soft while providing a pressure differential such that the pressure external of the container exceeds the pressure internal the container.