{"id":18326858,"url":"https://github.com/franzdiebold/dockerize-datascience","last_synced_at":"2025-11-08T07:04:43.538Z","repository":{"id":42010580,"uuid":"461794602","full_name":"FranzDiebold/dockerize-datascience","owner":"FranzDiebold","description":"Dockerize Data Science","archived":false,"fork":false,"pushed_at":"2022-11-21T20:31:28.000Z","size":196,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T14:23:09.769Z","etag":null,"topics":["bash","bashrc","data-science","datascience","docker","jupyter","python"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FranzDiebold.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"FranzDiebold"}},"created_at":"2022-02-21T09:42:38.000Z","updated_at":"2024-03-06T12:29:54.000Z","dependencies_parsed_at":"2023-01-21T21:49:42.414Z","dependency_job_id":null,"html_url":"https://github.com/FranzDiebold/dockerize-datascience","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranzDiebold%2Fdockerize-datascience","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranzDiebold%2Fdockerize-datascience/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranzDiebold%2Fdockerize-datascience/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranzDiebold%2Fdockerize-datascience/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FranzDiebold","download_url":"https://codeload.github.com/FranzDiebold/dockerize-datascience/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423469,"owners_count":20936621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bashrc","data-science","datascience","docker","jupyter","python"],"created_at":"2024-11-05T19:08:27.487Z","updated_at":"2025-11-08T07:04:43.510Z","avatar_url":"https://github.com/FranzDiebold.png","language":"Shell","readme":"# Dockerize Data Science\n\n\u003e Bring your Data Science tasks to Docker! :whale:\n\n[![Medium article: How to dockerize Data Science](https://img.shields.io/badge/Medium%20article-How%20to%20dockerize%20python%20environments-black)](https://franzdiebold.medium.com/how-to-dockerize-python-environments-ce8d2ce7bf32)\n[![Medium article: How to dockerize Data Science](https://img.shields.io/badge/Medium%20article-How%20to%20dockerize%20Data%20Science-black)](https://franzdiebold.medium.com/how-to-dockerize-data-science-dd396962a0f)\n[![GitHub license](https://img.shields.io/github/license/FranzDiebold/dockerize-datascience)](./LICENSE)\n\n![\"Docker, Docker everywhere\" meme](img/docker-everywhere-meme.jpg)\n\nThis is the code repository for the accompanying Medium article series _\"How to dockerize [x]\"_:\n\n- [_\"How to dockerize Python environments\"_](https://franzdiebold.medium.com/how-to-dockerize-python-environments-ce8d2ce7bf32)\n- [_\"How to dockerize Data Science\"_](https://franzdiebold.medium.com/how-to-dockerize-data-science-dd396962a0f)\n\n## Installation\n\nAdd the content of [`dockerize-datascience.sh`](dockerize-datascience.sh) to your `.bashrc` or `.zshrc` file.\n\n## Usage\n\n### Python\n\nChoose your Python version:\n\n| Python version | Command      |\n| -------------: | ------------ |\n|            3.8 | `python3.8`  |\n|            3.9 | `python3.9`  |\n|           3.10 | `python3.10` |\n|           3.11 | `python3.11` |\n|         latest | `python`     |\n\nThis will run your python script or your interactive Python session in a _Docker container_. The current directory is mounted into the container.\nIf you want to install dependencies, you should use the _Python environment_.\n\n### Python environment\n\nIn order to create a new or use an existing Python environment, run one of the following commands in your _project folder_:\n\n| Python version | Command       |\n| -------------: | ------------- |\n|            3.8 | `py-env-3.8`  |\n|            3.9 | `py-env-3.9`  |\n|           3.10 | `py-env-3.10` |\n|           3.11 | `py-env-3.11` |\n|         latest | `py-env`      |\n\nThe current directory is mounted into the container.\n\nTo delete the environment run `py-env-del` in your project folder.\n\n### Jupyter (JupyterLab)\n\n![\"Dockerizing Data Science\" meme](img/dockerizing-data-science-meme.jpg)\n\nFor [Jupyter](https://jupyter.org/) (to use in the browser) run\n\n```shell\njupyter\n```\n\nThis uses the [`franzdiebold/datascience-ultimate`](https://github.com/FranzDiebold/docker-datascience-ultimate) Docker image.\n\nThe current directory is mounted into the container.\n\nIf you want to install dependencies, you should use the [Jupyter environment](#jupyter-environment).\n\n### Jupyter environment\n\nIn order to create a new or use an existing Jupyter environment, run the following command in your _project folder_:\n\n```shell\njupyter-env\n```\n\nor shorter\n\n```shell\nje\n```\n\nThis uses the [`franzdiebold/datascience-ultimate`](https://github.com/FranzDiebold/docker-datascience-ultimate) Docker image.\n\nThe current directory is mounted into the container.\n\nTo delete the environment run `jupyter-env-del`.\n\n---\n\n### Jupyter Server\n\nFor [Jupyter Server](https://jupyter.org/) (to use with a different client software for your notebooks such as [JetBrains DataSpell](https://www.jetbrains.com/dataspell/)) run\n\n```shell\njupyter-server\n```\n\nThis uses the [`franzdiebold/datascience-ultimate-server`](https://github.com/FranzDiebold/docker-datascience-ultimate) Docker image.\n\nThe current directory is mounted into the container.\n\nIf you want to install dependencies, you should use the [Jupyter Server environment](#jupyter-server-environment).\n\n### Jupyter Server environment\n\nIn order to create a new or use an existing Jupyter Server environment, run the following command in your _project folder_:\n\n```shell\njupyter-server-env\n```\n\nor shorter\n\n```shell\njes\n```\n\nThis uses the [`franzdiebold/datascience-ultimate-server`](https://github.com/FranzDiebold/docker-datascience-ultimate) Docker image.\n\nThe current directory is mounted into the container.\n\nTo delete the environment run `jupyter-server-env-del`.\n","funding_links":["https://github.com/sponsors/FranzDiebold"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranzdiebold%2Fdockerize-datascience","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffranzdiebold%2Fdockerize-datascience","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranzdiebold%2Fdockerize-datascience/lists"}