Sign inSign up

kastsialei/docker-api-ui

By kastsialei

Updated about 9 years ago

Repository for containerized swagger UI of Moby (Docker) API

Image
0

221

kastsialei/docker-api-ui repository overview

moby-api-ui

Repository for containerized swagger UI of Moby (Docker) API

Latest version loads latest swagger.yaml from Moby GitHub repository on container start.

How to run

Exposed ports:

  • 8080 on which nginx is running

Variables:

  • API_URL : host and port of server. By default localhost:8080

For correct work you need to add docker.sock as volume

docker run -p 8888:8080 -e API_URL="localhost:8888" -v /var/run/docker.sock:/var/run/docker.sock kastsialei/docker-api-ui

Use as proxy

It's possible also use Moby (Docker) api by simple calling using curl or even Postman. Nginx proxy pass all requests to /docker/ location to docker.sock:

curl -X GET "http://localhost:8888/docker/containers/json" -H "accept: application/json"

Tag summary

Content type

Image

Digest

Size

4.5 MB

Last updated

about 9 years ago

docker pull kastsialei/docker-api-ui