I pulled and run the postgres official image from docker-hub. Everything works but the problem is when i stop and start the container all data is lost and instance returns to a clean state, while i'm expecting data to be persisted on the instance self storage.
i don't want to use external volumes in order to keep the instance self contained.
is this a configuration issue?