Docker — Caddy

Docker image for Caddy Web server

Argp / Docs / Docker / Caddy

Docker Automated build Docker Stars Docker Pulls GitHub issues GitHub last commit GitHub


The Caddy image comes with the latest Caddy binary. This image can be used to serve static files locally or as a web server anywhere.


The server can be started by running the container.

$ docker run -d -v `pwd`:/data -p 8000:8000 ankitrgadiya/caddy <ARGS>

The default arguments for the command are configured to surve from /data directory inside the container. The server is configured to listen at port 8000. You can map it to any available port on the host system by changing the -p flag of docker command.

All the arguments for caddy command can be passed to the container as well.


BSD 3-Clause License.