有人解释了命令:install在下面的compose.yaml文件中的确切含义:
composer: image:composer/composer volumes: - ./document_root:/var/www/html command: install
查找命令文档 here
根据文档,它覆盖默认命令 command: bundle exec thin -p 3000 执行你在文件中给出的任何命令。
command: bundle exec thin -p 3000