Do I lose my data when the Docker container exits?

Technology CommunityCategory: DockerDo I lose my data when the Docker container exits?
VietMX Staff asked 3 years ago

There is no loss of data when any of your Docker containers exits as any of the data that your application writes to the disk in order to preserve it. This will be done until the container is explicitly deleted. The file system for the Docker container persists even after the Docker container is halted.