I'm trying to follow the Symfony 5: The Fast Track tutorial, and I'm stuck before I even leave the gate. I've made several attempts to uninstall and reinstall Docker, Docker Compose and Symfony CLI, but the command symfony book:check-requirements
persistently returns the error message Cannot find Docker Compose, please install it, despite the fact that docker --version
returns Docker version 20.10.14, build a224086, docker compose version
returns Docker Compose version v2.4.1, and docker run hello-world
runs successfully.
What am I doing wrong? What have I overlooked? I'm running Ubuntu 18.04 with PHP 8.1, and am unfamiliar with either Docker or Symfony.
CodePudding user response:
I presume you are on Ubuntu. You should also install docker-compose how to install docker-compose on Ubuntu 20.04
Bear in bind that docker compose is not the same as docker-compose.They are separate executables. You can read more difference between docker compose and docker-compose