Closed zerodahero closed 6 years ago
oops, lies, I see what's going on now, ignore this--I had a typo in my caddyfile
If anyone else runs into a similar thing, know that it's exactly right that we "override" the CMD instruction--it's Caddy that actually starts up php-fpm (on startup php-fpm --nodaemonize
)
Thanks for your contribution and follow up comment 💖
In Chapter 6, the combining Caddy with the
php:7.1-fpm
image doesn't work. The latest documentation states that there can only be oneCMD
instruction and that the latest one will be the only one that takes effect (https://docs.docker.com/engine/reference/builder/#cmd). On docker v18.03, that's exactly what's happening--Caddy loads, but FPM does not.Output: