Can you lose data when the container exits in Devops?
No, any data that your application writes to disk get stored in container. The file system for the contain persists even after the container halts.