Try: docker-compose --env-file config.env up --build
Got:
# docker-compose --env-file config.env up --build
Define and run multi-container applications with Docker.
Usage:
docker-compose [-f <arg>...] [options] [COMMAND] [ARGS...]
docker-compose -h|--help
Options:
-f, --file FILE Specify an alternate compose file
(default: docker-compose.yml)
-p, --project-name NAME Specify an alternate project name
(default: directory name)
--verbose Show more output
Seems like a docker-compose don’t mind what a hell is ‘–env-file’ and showing help for usage.
Why?
Please share the command and the resulting output, like you did in your first post. This time of course with docker compose instead of `docker-compose´.
I remember posts where people reported they had to downgrade the compose-plugin to 2.15 because something was not working for them, Though, I neither remember what exactly was not working, nor which platform exactly was affected.