homeall / caddy-reverse-proxy-cloudflare

Docker image with Caddy server and Cloudflare plugin installed
Eclipse Public License 2.0
53 stars 10 forks source link

Can we have bash into this container? #19

Closed UncleBabyBilly closed 8 months ago

UncleBabyBilly commented 1 year ago

It is my understanding that the base caddy image includes bash for troubleshooting via curl commands. Can this be included in this image? It makes it very challenging to debug issues without this functionality.

docker exec -it <container> bash

docker exec -it caddy bash
OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown
ionutz89 commented 8 months ago

It is alpine image. You can use /bin/sh