0

I'm using official WebLogic images to run the domain in Docker containers. In the development environment I have to experiment with settings, which requires the WebLogic to be restarted. However, stopping the admin server will also stop the container and all the data will be lost. How to come around with this?

Seems like my only painful choice is to experiment with the settings is in the build phase WLST scripts.

Tuomas Toivonen
  • 21,690
  • 47
  • 129
  • 225
  • 1
    "Store the data outside the container" is the usual answer to this; either in a database or a `docker run -v` host directory. – David Maze Aug 02 '18 at 10:55
  • Check also if you are doing the mistake described here: [I lose my data when the container exits](https://stackoverflow.com/questions/19585028/i-lose-my-data-when-the-container-exits) – tgogos Aug 02 '18 at 11:04

0 Answers0