That should be completely irrelevant. When you don’t set a version, it’ll just always the latest one (which is a bad idea because the latest one might be broken, so therefore it’s recommended to set a version and manually upgrade from time to time). The only reason why not setting a version could break ElasticSearch is if the latest version simply contains a broken ElasticSearch image/container.
But without having looked at the logs it’s of course now impossible to determine the exact cause of the problem