Docker: unknown flag: –profile

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

To fix this you need to update your docker compose to version 2

After this the problem will be resolved

You May Also Like

About the Author: vo