My problem is that when I run a container, modify a file, exit and rerun the container, I see that changes have been lost. Here are the steps that I took.
nvidia-docker run -v pwd
/..:/data --rm -it mlperf-nvidia:minigo
2- Update pip and exit
root@d5137ad8809c:/opt/reinforcement# python3 -m pip install --upgrade pip Requirement already satisfied: pip in /usr/local/lib/python3.8/dist-packages (21.2.4) Collecting pip Downloading pip-22.0.4-py3-none-any.whl (2.1 MB) |████████████████████████████████| 2.1 MB 11.0 MB/s Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 21.2.4 Uninstalling pip-21.2.4: Successfully uninstalled pip-21.2.4 Successfully installed pip-22.0.4 root@d5137ad8809c:/opt/reinforcement# pip3 list | grep pandas pandas 1.4.2 root@d5137ad8809c:/opt/reinforcement# exit
3- Rerun the command and see the pip3 is still in the old version.
root@e7f6151e12bb:/opt/reinforcement# pip3 list | grep pandas pandas 1.4.2 WARNING: You are using pip version 21.2.4; however, version 22.0.4 is available. You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
Any thoughts on that?