{"id":16729563,"url":"https://github.com/darwindarak/watsonx-incubator-env","last_synced_at":"2026-01-02T08:14:32.692Z","repository":{"id":223607419,"uuid":"760958973","full_name":"darwindarak/watsonx-incubator-env","owner":"darwindarak","description":"Lab environment container for the Watsonx.ai training session","archived":false,"fork":false,"pushed_at":"2024-02-21T05:34:12.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T07:15:09.095Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/darwindarak.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}},"created_at":"2024-02-21T01:11:15.000Z","updated_at":"2024-02-21T01:12:53.000Z","dependencies_parsed_at":"2024-02-21T05:48:55.689Z","dependency_job_id":null,"html_url":"https://github.com/darwindarak/watsonx-incubator-env","commit_stats":null,"previous_names":["darwindarak/watsonx-incubator-env"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwindarak%2Fwatsonx-incubator-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwindarak%2Fwatsonx-incubator-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwindarak%2Fwatsonx-incubator-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwindarak%2Fwatsonx-incubator-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darwindarak","download_url":"https://codeload.github.com/darwindarak/watsonx-incubator-env/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243762267,"owners_count":20343979,"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":[],"created_at":"2024-10-12T23:29:04.856Z","updated_at":"2026-01-02T08:14:32.666Z","avatar_url":"https://github.com/darwindarak.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Image for IBM Watsonx Incubation Program\n\n[\u003cimg src=\"https://img.shields.io/docker/image-size/darwindarak/watsonx-incubator-env\"\u003e](https://hub.docker.com/r/darwindarak/watsonx-incubator-env)\n\nThis repo is used for building a container [image](https://hub.docker.com/r/darwindarak/watsonx-incubator-env) that contains the Python tools \u0026 libraries needed to run the [labs](https://github.com/edsml-kl121/gen_ai_incubation_watsonx_th) for the IBM Watsonx Incubator/Pilot/Hackathon programs.\n\n## Prerequisites\n\n- `docker` (**required**) or compatible container runtime\n- `git` (*optional*)\n\n## Usage\n\nWe first need to get the `edsml-kl121/gen_ai_incubation_watsonx_th` lab repository from GitHub either using `git`\n```bash\ngit clone git@github.com:edsml-kl121/gen_ai_incubation_watsonx_th.git\n```\nor [download](https://github.com/edsml-kl121/gen_ai_incubation_watsonx_th/archive/refs/heads/main.zip) the entire repository as a zip file.\n\nThe repository has three types of labs:\n- Jupyter notebooks (labs 1-4)\n- Streamlit applications (lab 5)\n- Streamlit applications with vector database (labs 6+)\n\n### Running Jupyter Notebook\n\n```bash\n# Move to the repo (might be named differently based on how you cloned it)\ncd gen_ai_incubation_watsonx_th\n# The default command for the container is to run a Jupyter notebook, the\n# arguments do the following:\n# - remove the container when we stop it\n# - gives Jupyter notebook access to the cloned notebooks\n# - provide access to Jupyter lab through port 8888\ndocker run \\\n  --rm \\\n  -v .:/home/lab/notebooks \\\n  -p 8888:8888 \\\n  darwindarak/watsonx-incubator-env\n```\n\n### Running Streamlit Applications\n\n```bash\n# Move to the repo (might be named differently based on how you cloned it)\ncd gen_ai_incubation_watsonx_th\n# We will override the default Jupyter notebook command and run streamlit instead.\n# The arguments do the following:\n# - remove the container when we stop it\n# - gives Streamlit access to the cloned notebooks\n# - provide access to the Streamlit app through port 8510\n# - specify the container image\ndocker run \\\n  --rm \\\n  -v ./:/home/lab/notebooks \\\n  -p 8501:8510 \\\n  darwindarak/watsonx-incubator-env \\\n  streamlit run \"/home/lab/notebooks/TH/lab 05- Building Question-Answering with watsonx.ai and Streamlit/Level_1_English/app.py\"\n```\n\n## Todo\n\n- [x] Make the Dockerfile\n- [ ] Add instructions for connecting local dev environment (e.g. VSCode) to the container\n- [x] Add instructions for how to access Jupyter environment \u0026 Streamlit app in the container\n- [ ] Add pipeline to build packages for both `amd64` and `aarch64` architectures\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarwindarak%2Fwatsonx-incubator-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarwindarak%2Fwatsonx-incubator-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarwindarak%2Fwatsonx-incubator-env/lists"}