Hi, I have Caddy installed in a Docker container. I want to change file in that container, but I can’t ssh into. I tried docker exec -it <container name> /bin/bash
, but it didn’t work. I am getting this error: starting container process caused: exec: “/bin/bash”: stat /bin/bash: no such file or directory: unknown.
when I do docker inspect 80372bc2c41e
“Cmd”: [
“caddy”,
“run”,
“–config”,
“/etc/caddy/Caddyfile”,
“–adapter”,
“caddyfile”
],
I don’t see /bin/bash.
Any idea how to ssh in the container?