How to execute the Caddy API in Docker?

point is that 127.0.0.1 or localhost are inside docker container, so you either need to attach inside docker container shell to access localhost or to set admin endpoint to listen on 0.0.0.0

2 Likes