Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-socket-http-proxy

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).

Running locally

To start the HTTP server, clone this repository and run:

$ cargo run

Server listening on http://0.0.0.0:8080

Via Docker

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

To-do

  • Public Docker hub image w/ CI

About

A local HTTP server for proxying requests to the Docker socket

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages