Skip to content

Repository for containerized swagger UI of Moby (Docker) API

License

Notifications You must be signed in to change notification settings

kastsialei/moby-api-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Repository for containerized swagger UI of Moby (Docker) API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published