Connection to 13.251.192.208 closed. $ ssh -tt centos@13.251.192.208 "cd $root_path/dev/$repo_folder && docker-compose build --build-arg test=hello xxx" WARNING: The export variable is not set. Defaulting to a blank string. WARNING: The local variable is not set. Defaulting to a blank string. ERROR: The Compose file './docker-compose.yml' is invalid because: services.ddd.ports is invalid: Invalid port ":", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol] services.xxx.ports is invalid: Invalid port ":", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol] Connection to 13.251.192.208 closed. ERROR: Job failed: exit code 1