1
I’m trying to run the command down at the terminal GOCD, but always the error occurs:
Commando
ssh root@host 'cd /var/www/gda-frontend/ && docker-compose up -d --build'
Error
bash: cd /var/www/Gda-frontend/ && Docker-Compose up -d --build: File or directory not found
The directory exists, but it cannot run. And there is already the ssh connection without password between the two.
Even running only the cd
, without the command docker-compose
, error occurs.
Try it this way: ssh root@host '/var/www/Gda-frontend/Docker-Compose up -d --build' P.s: I can’t comment on why I posted it as a question.
– Lucas Possamai