This is why I said “most containers most of the time should”. It’s a bad practice to write to the inside of the container and a better practice to treat them as immutable. You can go as far as actively preventing them from writing to themselves when you build them or in certain container runtimes, but this is not usually how they work by default.
Also a container that is stopped and restarted will not lose its internal changes in most runtimes. The container needs to be deleted and recreated from the image to do that
From experience, basically no banks take collateral on co-owned homes. You probably won’t run into problems like that specifically. You can also easily structure an agreement with a lawyer. In many states you have to have an attorney to buy a home anyway (CT, MA, GA, DE, KY, LA, MD, MI, NH, ND, OK, RI, VT, WV, WO). We used ours to write and tack on the equivalent of an HOA arrangement you’d see in a condominium for our shared rooms.
I do find it amusing we have redditors arguing landlords should be illegal and others arguing co-ownership is a bad idea. Yes, let’s build millions of single room houses for everyone who is single that span the entire continent.