- download projects during manual installation and composer installation, just choose one at random. What did docker installation and docker-compose installation do later? Please explain, thank you!
docker starts directly from the command line
docker-compose manages scripts with yaml
docker and docker-compose are actually the same way. Docker sets up a docker container through the command line, while docker-compose is just a container orchestration. Both of them will set up a container with a set of environment of php and the code of the project
.the same goes for compose and manual installation, where manual installation requires downloading the framework source code, and then composer install installs the compose package that the framework depends on, and composer install gets it all done for you.
to sum up, if you have your own local PHP environment, you can simply composer install
, while you use docker-compose if you don't have a local environment or need to install a new environment.
Previous: Questions about Mining of geth client testing Network miner.start () in Ethernet Square
Next: Errors were reported in vue projects npm install and npm run dev