When working with ADS CLI and running
lando start, sometimes there can be an error:
The Compose file '/Users/x123456/.lando/proxy/proxy-1.yml is invalid because: services.proxy.ports contains an invalid type, it should be a number, or an object
We recommend running
ads start --verbose instead of
lando start. In this case the error showed with both commands.
This is a lando community bug and the proposed solution can be found here:
I also ran into the same issue out of the blue. I removed the ~/.lando folder, and then ran docker ps -a to see what the ids were of any running docker containers. I removed those ids with docker rm abcdefg etc... and in one case I had to run a docker stop [the_id] and then remove that once it was stopped. I then ran lando stop and land start and all was well after that.