in DevOps by

Q. Do I lose my data when the Docker container exits?

1 Answer

0 votes

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.

Related questions

0 votes
asked Jun 12, 2019 in DevOps by anonymous
0 votes
asked Apr 1 in DevOps by sharadyadav1986