Can we lose our data when a Docker Container exits?

0

Docker Container has its own file system. In an application running on Docker Container, we can write to this file system. When the container exits, data written to the file system still remains. When we restart the container, the same data can be accessed again. Only when we delete the container, related data will be deleted.

Devops docker
asked Apr 30, 2023 at 20:22
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.