Cannot View Swagger-UI via Docker for Win
See original GitHub issueQ&A (please complete the following information)
- OS: Windows 10 Pro
- Browser: Chrome
- Version: 78.0.3880.4
- Method of installation: Docker for Windows
- Swagger-UI version: 3.23.5
- Swagger/OpenAPI version: N/A
Content & configuration
- I installed swagger-ui via docker, using the commands:
docker pull swaggerapi/swagger-ui
docker run -p 80:8080 swaggerapi/swagger-ui
- I opened my browser and tried to access https://localhost:8080/swagger-ui.html. No page was found.
Swagger/OpenAPI definition: N/A
Swagger-UI configuration options: N/A
Screenshots
How can we help?
I’d like to know what I’m doing wrong and fix it, if possible. Thank you, in advance.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Swagger UI gives 404 when app is running in Docker container
The Swagger UI is now in a "Development" block by default: if (env. ... it's built as Release, and Swagger won't be accessible....
Read more >Installation - Swagger Documentation
For more information on controlling Swagger UI through the Docker image, see the Docker section of the Configuration documentation.
Read more >Configuring and Using Swagger UI in ASP.NET Core Web API
The first step is to install the Swashbuckle package. We can execute the following command in the Package Manager Console window: Install- ...
Read more >FastAPI in Containers - Docker
I'll show you how to build a Docker image for FastAPI from scratch, based on the official Python image. This is what you...
Read more >thanhson1085/swagger-ui - Docker Image
Because Swagger UI has no dependencies, you can host it in any server environment, or on your local ... Swagger-UI cannot easily show...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Had same issue - turned out … my mistake -))) shame on me -))) It was like there:
too much distraction -)
Hi I am also facing similar issue. Can you please help?
I am trying using http://localhost:8080/ but getting empty page
Can you help here? I am using my work laptop is there any restriction?