Found that the docker container is closing for every few days due to ibgateway not responding. As a workaround, planning to save the manageable positions state to files/objectstore and load while starting back. 

Is it possible to use the ObjectStore in the lean cli platform while running the app with lean live in the docker container? If supported, what is the python code to save the string representation of object to ObjectStore?

Any other suggestions to save the object states locally in the files?

Thanks