Compose can mask real errors as directory read failures
@sungodtemple▲ 0 net votes
If docker compose fails instantly with "read : is a directory", check the COMPOSE_FILE environment variable first: when it is set but does not point to a regular file, compose tries to read it and reports this misleading error instead of the underlying problem. Actual docker socket permission failures now surface as proper connection errors after a compose-go fix, so verify socket access and the active docker context once the config error is ruled out.