Docker image with python 3.12, PyTorch, Jupyter, and many other python libraries for AI on a Mac
292
This Docker image contains a good selection of python AI development tools including PyTorch, and starts up Jupyter notebooks immediately upon startup. This was set up to do python AI PyTorch models on my MacBook without installing everything directly on my Mac. It should be starting including a volume to contain the Jupyter notebooks and data. I start it using the following command:
docker run -p 8888:8888 -v "/Users/eric/Documents/Jupyter Notebooks":/app/notebooks -d --name eg-pytorch-notebook ericgottlieb/eg-pytorch-notebook:3.12-r5
Latest build 3.12-r5 contains the following libraries and versions: absl-py==2.1.0 anyio==4.8.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==3.0.0 async-lru==2.0.4 attrs==25.1.0 babel==2.16.0 beautifulsoup4==4.12.3 bleach==6.1.0 certifi==2024.12.14 cffi==1.17.1 charset-normalizer==3.4.1 colorama==0.4.6 comm==0.2.2 contourpy==1.3.1 cycler==0.12.1 debugpy==1.8.12 decorator==5.1.1 defusedxml==0.7.1 executing==2.2.0 fastjsonschema==2.21.1 filelock==3.17.0 fonttools==4.55.7 fqdn==1.5.1 fsspec==2024.12.0 gitdb==4.0.12 GitPython==3.1.43 glob2==0.7 grpcio==1.70.0 h11==0.14.0 h5py==3.12.1 httpcore==1.0.7 httpx==0.28.1 idna==3.10 imageio==2.36.1 ipykernel==6.29.5 ipython==8.31.0 isoduration==20.11.0 jedi==0.19.2 Jinja2==3.1.5 joblib==1.4.2 json5==0.10.0 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2024.10.1 jupyter-events==0.11.0 jupyter-lsp==2.2.5 jupyter-server-mathjax==0.2.6 jupyter_client==8.6.3 jupyter_core==5.7.2 jupyter_server==2.15.0 jupyter_server_terminals==0.5.3 jupyterlab==4.3.4 jupyterlab_git==0.50.2 jupyterlab_pygments==0.3.0 jupyterlab_server==2.27.3 kiwisolver==1.4.8 lazy_loader==0.4 Markdown==3.7 MarkupSafe==3.0.2 matplotlib==3.9.2 matplotlib-inline==0.1.7 mistune==3.1.1 mpmath==1.3.0 nbclient==0.10.2 nbconvert==7.16.6 nbdime==4.0.2 nbformat==5.10.4 nest-asyncio==1.6.0 networkx==3.4.2 notebook_shim==0.2.4 numpy==2.2.2 opencv-python==4.11.0.86 overrides==7.7.0 packaging==24.2 pandas==2.2.3 pandocfilters==1.5.1 parso==0.8.4 pexpect==4.9.0 pillow==10.4.0 pip-review==1.3.0 pip-upgrade-tool==0.7.4 platformdirs==4.3.6 prometheus_client==0.21.1 prompt_toolkit==3.0.50 protobuf==5.28.2 psutil==6.1.1 ptyprocess==0.7.0 pure_eval==0.2.3 pycparser==2.22 Pygments==2.19.1 pyparsing==3.2.1 python-dateutil==2.9.0.post0 python-json-logger==3.2.1 pytz==2024.2 PyYAML==6.0.2 pyzmq==26.2.0 referencing==0.36.2 requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rpds==5.1.0 rpds-py==0.22.3 scikit-image==0.25.1 scikit-learn==1.6.1 scipy==1.15.1 seaborn==0.13.2 Send2Trash==1.8.3 setuptools==75.8.0 six==1.17.0 smmap==5.0.2 sniffio==1.3.1 soupsieve==2.6 stack-data==0.6.3 style==1.1.6 sympy==1.13.1 tensorboard==2.18.0 tensorboard-data-server==0.7.2 terminado==0.18.1 threadpoolctl==3.5.0 tifffile==2025.1.10 tinycss2==1.2.1 torch==2.5.1 torchsummary==1.5.1 torchvision==0.20.1 tornado==6.4.2 traitlets==5.14.3 types-python-dateutil==2.9.0.20241206 typing_extensions==4.12.2 tzdata==2025.1 uri-template==1.3.0 urllib3==2.3.0 wcwidth==0.2.13 webcolors==24.11.1 webencodings==0.5.1 websocket-client==1.8.0 Werkzeug==3.1.3
Content type
Image
Digest
sha256:ce0d037f7…
Size
1.1 GB
Last updated
over 1 year ago
docker pull ericgottlieb/eg-pytorch-notebook:3.12-r6