
Today I faced the issue while trying to run docker compose. The docker siad that have no clue about “–profile” option…
The command that I executed and error
1 2 3 4 5 6 7 8 |
$ docker compose --profile download up --build unknown flag: --profile See 'docker --help'. Usage: docker [OPTIONS] COMMAND |
To fix this you need to update your docker compose to version 2
1 2 3 |
$ sudo apt install docker-compose-v2 |
After this the problem will be resolved