Skip to content

docker-compose not found in a live pull

New clean setup for espace (wohnen Mobimo) portal. The same happens in an existing setup after updating.

The command a live pull results in:

In SiteProcess.php line 214:
                                                                                                                                                                              
  The command "docker-compose --project-name espace --file docker-compose.yml --project-directory /home/danielspeicher/Projects/mobimo/espace exec -T php drush core-status   
  --fields=db-name --format=json --uri=espace.docker.localhost:8000 --root=/var/www/html/web/" failed.                                                                        
                                                                                                                                                                              
  Exit Code: 127(Command not found)                                                                                                                                           
                                                                                                                                                                              
  Working directory:                                                                                                                                                          
                                                                                                                                                                              
  Output:                                                                                                                                                                     
  ================                                                                                                                                                            
                                                                                                                                                                              
                                                                                                                                                                              
  Error Output:                                                                                                                                                               
  ================                                                                                                                                                            
  sh: docker-compose: not found                                                                                                                                               
                                                                                                                                                                              

sh: docker-compose: not found

In SiteProcess.php line 214:
                                                                                                                                                                              
  The command "docker-compose --project-name espace --file docker-compose.yml --project-directory /home/danielspeicher/Projects/mobimo/espace exec php drush cr --uri=espace  
  .docker.localhost:8000 --root=/var/www/html/web/" failed.                                                                                                                   
                                                                                                                                                                              
  Exit Code: 127(Command not found)                                                                                                                                           
                                                                                                                                                                              
  Working directory:                                                                                                                                                          
                                                                                                                                                                              

> sh: docker-compose: not found