Public Repository

Last pushed: 3 days ago
Short Description
A simple docker container for hosting swagger-ui
Full Description

Supported tags

The v3.x tag series supports the Swagger / OpenAPI Specification 2.0 only. If you need 1.x support, please use the 2.x series.

  • latest based on master
  • v3.0.5
  • v2.2.9

For more information about this image and the functionality it provides, please see the swagger-ui GitHub repository.


Expose port 8080 from the image and load the swagger-ui on the exposed port. You can then access the web service directly from the swagger-ui or via API.


docker pull swaggerapi/swagger-ui

docker run -p 80:8080 swaggerapi/swagger-ui

You can now open swagger-ui on your machine via 80:

open http://localhost

For latest, and post v3.0.5 tags, you can specify the default swagger-ui to load in the UI:

docker run -p 80:8080 -e API_URL= swaggerapi/swagger-ui
Docker Pull Command