New answers tagged


I don't think you should store application state in a Docker container. And DB data kind of fits this. There's a post here, which says it's not best practice. using a Dockerfile allows you to formally modeling the image content and ensure you can rebuild/reproduce its initial state. So, the right way to do this would be to fill the DB as part of your ...

Top 50 recent answers are included