I am relatively new to docker and havent used it except for simple cases so please bear with me.
I have a python3 docker image that lacks some of the modules I need like scipy, sklearn etc. I run the image (docker run -i -t python) and then I am able to download and install the necessary packages as below from inside the container:
>>> import pip
>>> pip.main(["install", "sklearn", "scipy"])
However when I quit the container and restart all the installs are gone. How can I make them persistent?