Swoft framework, what is the relationship between the four installation methods?

  1. 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!

clipboard.png


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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c1be5e-55f06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c1be5e-55f06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?