https://github.com/redraskal/bun-docker
TypeScript Docker API for Bun using unix sockets.
https://github.com/redraskal/bun-docker
bun colima docker typescript unix-socket
Last synced: about 1 month ago
JSON representation
TypeScript Docker API for Bun using unix sockets.
- Host: GitHub
- URL: https://github.com/redraskal/bun-docker
- Owner: redraskal
- License: mit
- Created: 2023-07-17T06:38:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-23T00:52:10.000Z (almost 3 years ago)
- Last Synced: 2025-08-19T04:50:12.685Z (10 months ago)
- Topics: bun, colima, docker, typescript, unix-socket
- Language: TypeScript
- Homepage:
- Size: 188 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bun-docker
TypeScript Docker API for Bun using unix sockets.
- API generated with [openapi-typescript](https://github.com/drwpow/openapi-typescript)
- Supports [colima](https://github.com/abiosoft/colima) for macOS/Linux
[Latest Docker API spec](https://docs.docker.com/engine/api/latest)
```ts
import createDockerClient from "bun-docker";
const { get } = await createDockerClient();
const { data, error } = await get("/info", {});
console.log(data);
console.log(error);
```
```bash
bun i redraskal/bun-docker#main
```
This project was created using `bun init` in bun v0.6.15. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.