{"id":20289915,"url":"https://github.com/daniel-le97/docker-bun","last_synced_at":"2026-04-30T16:32:14.162Z","repository":{"id":205799901,"uuid":"715286149","full_name":"daniel-le97/docker-bun","owner":"daniel-le97","description":"Docker Api client for bun","archived":false,"fork":false,"pushed_at":"2023-12-15T05:07:14.000Z","size":529,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-22T22:08:31.657Z","etag":null,"topics":["bun","docker"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/daniel-le97.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":"2023-11-06T20:49:54.000Z","updated_at":"2025-08-20T23:16:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"a17a0c50-f68f-4f63-a0b0-5bf15b8c3e11","html_url":"https://github.com/daniel-le97/docker-bun","commit_stats":null,"previous_names":["daniel-le97/docker-bun"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/daniel-le97/docker-bun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-le97%2Fdocker-bun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-le97%2Fdocker-bun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-le97%2Fdocker-bun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-le97%2Fdocker-bun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniel-le97","download_url":"https://codeload.github.com/daniel-le97/docker-bun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-le97%2Fdocker-bun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32470879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: 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":["bun","docker"],"created_at":"2024-11-14T15:05:28.666Z","updated_at":"2026-04-30T16:32:14.145Z","avatar_url":"https://github.com/daniel-le97.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# docker-bun \n\n## Getting Started\n\nI Probably would not use this yet as there will be breaking changes, and will be removed once bun provides support for socket paths in http clients\n\nthis project was made because no existing node docker packages work in bun\n\nThe docker Api specification was used to generate the API\n\nAPI endpoints with steams do not yet work as i do not yet understand how all of buns api's work\nmost have a paramater that disables streams\n\n\nTo install dependencies:\n\n```bash\nbun add docker-bun\n```\n\nUsage\n\n```js\nimport { Docker } from 'docker-bun'\n\nconst docker = new Docker()\n// or\n\nconst docker = new Docker(opts)\n\n// get all containers\nconst containers = await docker.container.containerList()\n```\n# Caveats\n\nThis uses bun to connect to dockers unix socket\n\nother methods have not been sought out yet\n\nCurrently the only configuration is \n```js\nexport interface OpenAPIConfig {\n  BASE: string\n  VERSION: string\n  WITH_CREDENTIALS: boolean\n  CREDENTIALS: 'include' | 'omit' | 'same-origin'\n  TOKEN?: string | Resolver\u003cstring\u003e | undefined\n  USERNAME?: string | Resolver\u003cstring\u003e | undefined\n  PASSWORD?: string | Resolver\u003cstring\u003e | undefined\n  HEADERS?: Headers | Resolver\u003cHeaders\u003e | undefined\n  ENCODE_PATH?: ((path: string) =\u003e string) | undefined\n};\n\nexport const OpenAPI: OpenAPIConfig = {\n  BASE: '/v1.43',\n  VERSION: '1.43',\n  WITH_CREDENTIALS: false,\n  CREDENTIALS: 'include',\n  TOKEN: undefined,\n  USERNAME: undefined,\n  PASSWORD: undefined,\n  HEADERS: undefined,\n  ENCODE_PATH: undefined,\n}\n\n// new Docker(OpenAPI)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-le97%2Fdocker-bun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel-le97%2Fdocker-bun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-le97%2Fdocker-bun/lists"}