Open back-2-95 opened 2 years ago
yup - none of our examples currently work on docker-compose v2 yet :cry: we-re working on how to do it
I tried to overcome this whole morning today and failed. So still keeping our teams using V1.
yes sorry - I do not know why docker-compose needed to change this behaviour so much between 1 and 2 - it's impacted all our examples. I need to get some time to look into how to configure it properly.
This might be working workaround, building cli
first:
docker compose build cli
docker compose up -d
up -d seemed to build nginx and php images fine as cli exists locally.
Building images will fail with
docker compose up -d
as Docker tries to get metadata on local image.Latest Docker Desktop (at least on Mac) will use V2 by default.