{"id":17133873,"url":"https://github.com/henrytseng/example_docker_scikit-learn","last_synced_at":"2026-05-08T00:40:17.652Z","repository":{"id":150659449,"uuid":"90510599","full_name":"henrytseng/example_docker_scikit-learn","owner":"henrytseng","description":"A quick example of using Scikit-Learn from a Docker container","archived":false,"fork":false,"pushed_at":"2018-07-12T23:06:47.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T05:46:47.164Z","etag":null,"topics":["docker","scikit-learn"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/henrytseng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-07T05:17:42.000Z","updated_at":"2018-07-12T23:06:48.000Z","dependencies_parsed_at":"2023-07-26T05:49:05.215Z","dependency_job_id":null,"html_url":"https://github.com/henrytseng/example_docker_scikit-learn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/henrytseng/example_docker_scikit-learn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytseng%2Fexample_docker_scikit-learn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytseng%2Fexample_docker_scikit-learn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytseng%2Fexample_docker_scikit-learn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytseng%2Fexample_docker_scikit-learn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henrytseng","download_url":"https://codeload.github.com/henrytseng/example_docker_scikit-learn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytseng%2Fexample_docker_scikit-learn/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261984645,"owners_count":23240303,"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":["docker","scikit-learn"],"created_at":"2024-10-14T19:43:13.941Z","updated_at":"2026-05-08T00:40:12.612Z","avatar_url":"https://github.com/henrytseng.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README.md\n\n## Setup\n\nGet Docker https://store.docker.com/\n\n* MacOSX https://store.docker.com/editions/community/docker-ce-desktop-mac?tab=description\n\nCheck installation; you may need to use `sudo` depending on what environment/version-of-docker-machine you're running\n\nMake sure your Docker service is running.  \n\n```\ndocker --version\n```\n\nBuild container `Dockerfile`\n\n```\ndocker build -t myjupyter .\n```\n\nCheck image exists\n\n```\ndocker images\n```\n\n\n\n## Run\n\nStart container\n\n```\ndocker run -p 8888:8888 -v \"`pwd`/notebook\":/notebook -i -t myjupyter\n```\n\nCheck container is running\n\n```\ndocker ps\n```\n\nCreate the data set of 100k examples\n\n    pushd notebook/data/; ./create_example.rb --limit 100000 --do_write; popd\nDirect your browser using the token given to you in the terminal window\n\nhttp://localhost:8888/?token=49f039d31855ab1c6247201be0cb742499f34e8b14f01cc6 \n\nCheck your environment with `notebook/check_env.ipynb`\n\nOpen up the notebook `notebook/01 - Example.ipynb` to take a look at the example.  \n\n\n\n## Shutdown\n\nGet the container ID\n\n```\ndocker ps\n```\n\nRemove the container (e.g. - if the container ID is `1fa4ab2cf395`)\n\n```\ndocker kill 1fa4ab2cf395\n```\n\nGet a list of images\n\n```\ndocker images\n```\n\nRemove image (e.g. - if the image ID is `1fa4ab2cf395`)\n\n```\ndocker rmi 1fa4ab2cf395\n```\n\n\n\n## Debug\n\nTo explore container -- run interactive `/bin/bash` directly on the image\n\n```\ndocker exec -i -t 516c87927968 /bin/bash\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrytseng%2Fexample_docker_scikit-learn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenrytseng%2Fexample_docker_scikit-learn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrytseng%2Fexample_docker_scikit-learn/lists"}