Host Global Python Object in Docker Container

I have an object in Python thats pretty big (~10gb). I want to host the object in a Docker container and expose some of its methods to other docker containers, which is possible through TCP. Most web application frameworks doesn’t guarantee a single main process where the object can live in peace. How should I go about it?
The problem is even analogous to having global state in applications such as Celery and Flask. The object is immutable so it’s sort of like a database, but I’d really like it to exist as a Python object.

  • Docker, dockercloud and Cron
  • AWS ECS Error when running task: No Container Instances were found in your cluster
  • Confusion on using docker-compose volumes to serve django static files
  • Run project dependencies commands from dockerfile
  • Anaconda Dockerimages
  • How could I install the correct docker-compose version for 1.6.2
  • Docker - invalid sharing of index.html Nginx file
  • Sync folder in docker image from Jhipster
  • using a maven docker plugin to commit and save an image on maven release
  • Jenkins pipeline docker.image call generates a timeout
  • nginx docker instance multiple application
  • Create smoke container to link other docker container
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.