A local HTTP server for proxying requests to the Docker socket. Useful in scenarios where direct connectivity to Unix sockets is not possible (e.g. frontend clients).
To start the HTTP server, clone this repository and run:
$ cargo run
Server listening on http://0.0.0.0:8080
You can also build and run the server in Docker:
$ docker-compose up api
The server will pass through any requests directly to the Docker daemon. You can check out the list of supported endpoints in the Docker documentation.
For example, to query all images on your system:
$ curl -s http://localhost:8080/images/json
- Public Docker hub image w/ CI