{"id":26912628,"url":"https://github.com/grafana/devcontainer-feature-demo-k6","last_synced_at":"2026-02-19T23:01:46.217Z","repository":{"id":285577957,"uuid":"946500801","full_name":"grafana/devcontainer-feature-demo-k6","owner":"grafana","description":"Example repository to demonstrate the use of the k6 Dev Container feature ","archived":false,"fork":false,"pushed_at":"2025-03-11T17:49:34.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-04T21:38:01.349Z","etag":null,"topics":["devcontainers"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grafana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-03-11T08:37:13.000Z","updated_at":"2025-06-17T07:29:44.000Z","dependencies_parsed_at":"2025-04-01T14:50:11.514Z","dependency_job_id":"1d773760-f545-493d-a705-1b30307168af","html_url":"https://github.com/grafana/devcontainer-feature-demo-k6","commit_stats":null,"previous_names":["grafana/devcontainer-feature-demo-k6"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/grafana/devcontainer-feature-demo-k6","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fdevcontainer-feature-demo-k6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fdevcontainer-feature-demo-k6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fdevcontainer-feature-demo-k6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fdevcontainer-feature-demo-k6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grafana","download_url":"https://codeload.github.com/grafana/devcontainer-feature-demo-k6/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fdevcontainer-feature-demo-k6/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29636040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["devcontainers"],"created_at":"2025-04-01T15:24:25.947Z","updated_at":"2026-02-19T23:01:46.188Z","avatar_url":"https://github.com/grafana.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# devcontainer-feature-demo-k6\n\n**Example repository to demonstrate the use of the [k6 Dev Container feature](https://github.com/grafana/devcontainer-features/tree/main/src/k6)**\n\nThis repository contains a k6 example script created by the `k6 new` command. The k6 test script can be run in the [Dev Container](https://containers.dev) using the following command:\n\n```bash\nk6 run script.js\n```\n\n## Usage\n\nThe repository contains a [Development Container](https://containers.dev/) configuration, which means that k6 tests can be run immediately, without installing k6, in any [environment that supports Dev Containers](https://containers.dev/supporting) (GitHub Codespaces, JetBrains IDEs, Visual Studio Code, DevPods, CodeSandbox, etc)\n\n**Without installing software**\n\nYou can *run k6 test without installing any software* using [GitHub Codespaces](https://docs.github.com/en/codespaces). After [forking this](https://github.com/grafana/devcontainer-feature-demo-k6/fork) repository, [create a codespace for your repository](https://docs.github.com/en/codespaces/developing-in-a-codespace/creating-a-codespace-for-a-repository).\n\nThe created codespace will contain the k6 executable so that the test can be run immediately in a terminal window:\n\n```bash\nk6 run script.js\n```\n\n**Using an IDE**\n\nYou can run k6 test using [Visual Studio Code](https://code.visualstudio.com/) if the [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) extension is installed. After [forking this repository](https://github.com/grafana/devcontainer-feature-demo-k6/fork), clone your repository and open the folder with Visual Studio Code. It will automatically detect that the folder contains a Dev Container configuration and ask you whether to open the folder in a container. Choose **\"Reopen in Container\"**.\n\nAfter reopening in the Dev Container, the test script can be run immediately in the terminal window:\n\n```bash\nk6 run script.js\n```\n\n## Configuration\n\nThe Dev Container configuration is in the `.devcontainer/devcontainer.json` file:\n\n```json file=.devcontainer/devcontainer.json\n{\n  \"name\": \"devcontainer-feature-demo-k6\",\n  \"image\": \"mcr.microsoft.com/devcontainers/base:0-alpine\",\n  \"features\": {\n    \"ghcr.io/grafana/devcontainer-features/k6:1\": {}\n  }\n}\n```\n\nThis is the minimal Dev Container configuration for using k6. In addition to the container name and the Alpine base image reference, it only contains the k6 Dev Container feature reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrafana%2Fdevcontainer-feature-demo-k6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrafana%2Fdevcontainer-feature-demo-k6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrafana%2Fdevcontainer-feature-demo-k6/lists"}