{"id":23007721,"url":"https://github.com/agardnerit/devcontainer","last_synced_at":"2026-01-17T22:51:50.135Z","repository":{"id":197917295,"uuid":"699640336","full_name":"agardnerIT/devcontainer","owner":"agardnerIT","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-03T05:29:43.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T06:23:52.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/agardnerIT.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}},"created_at":"2023-10-03T03:21:21.000Z","updated_at":"2023-10-03T04:53:10.000Z","dependencies_parsed_at":"2023-10-03T13:51:40.448Z","dependency_job_id":null,"html_url":"https://github.com/agardnerIT/devcontainer","commit_stats":null,"previous_names":["agardnerit/devcontainer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agardnerIT%2Fdevcontainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agardnerIT%2Fdevcontainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agardnerIT%2Fdevcontainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agardnerIT%2Fdevcontainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agardnerIT","download_url":"https://codeload.github.com/agardnerIT/devcontainer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246838436,"owners_count":20842064,"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-12-15T08:16:49.900Z","updated_at":"2026-01-17T22:51:50.101Z","avatar_url":"https://github.com/agardnerIT.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Sample Dev Container\n\nThis will work with GitHub codespaces (either in browser or via your local VSCode - requires a VSCode extension).\n\nThis uses [the sample Python devcontainer](https://github.com/devcontainers/images/tree/main/src/python) as inspiration. Lots more sample environments [here](https://github.com/devcontainers/templates/tree/main/src).\n\nAlso interesting (but untested) is https://github.com/loft-sh/devpod which promises to read this file but spin up on local machines / any cloud.\n\nDon't forget to delete your codespace after use, see below!\n\n## Usage\n\nTo launch a new codespace, click the `Code` button, change to the `Codespaces` tab and click `Create codespace on main`.\n\nThe random, two word name for the codespace will be generated. In this case \"probable winner\".\n\n![](images/1.png)\n\nThe codespace will begin creation in a new browser window. Wait until the codespace is running.\n\nYou should see this command in the terminal. Leave it running.\n\n![](images/2.png)\n\nToggle over to the `Ports` tab and right click the row for port `8080`.\n\nChoose `Open in browser`\n\n![](images/3.png)\n\nThe demo application should be displayed.\n\n![](images/4.png)\n\n## Explanation\n\nThe codespace template is found in [.devcontainer/devcontainer.json](.devcontainer/devcontainer.json).\n\nIn this example, a custom container is built from the [Dockerfile](.devcontainer/Dockerfile) (but you can also reference an existing image).\n\nAfter the container is built and running, the `postStartCommand` (see [.devcontainer/devcontainer.json](.devcontainer/devcontainer.json)) is used to run a flask web application server automatically for you.\n\nThe `forwardPorts` directive in [.devcontainer/devcontainer.json](.devcontainer/devcontainer.json) is used to privately (only to your GitHub user) expose port 8080 and make the application available.\n\n\n## Codespace teardown\n\nGo to https://github.com/codespaces and delete your codespace to avoid unneccessary charges!\n\n## Links\n\n- [DevContainer features are documented here](https://github.com/devcontainers/features)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagardnerit%2Fdevcontainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagardnerit%2Fdevcontainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagardnerit%2Fdevcontainer/lists"}