The present invention relates to a method for producing cheese in a container as well as a container for use in such a method. The method relates to producing acidified cheeses from milk by use of ultra filtration. In the method of the invention, retentate containing rennet and culture are filled into the container and is left to coagulate in the container. After coagulation, a membrane is placed on the coagulated cheese, and salt is dosed on top of the membrane, whereupon the container is sealed. According to the invention, the membrane is delayed penetration to liquid to ensure that no liquid will pass through the membrane before acidification. This is advantageous, in that liquid passing through the membrane will create brine when dissolving the salt on top of the membrane; this brine may pass back into the cheese curd due to osmosis, which will stop the acidification process. This problem is overcome by the method of the invention.