>Docker should have just licensed and supported the Docker engine to the mass market (their one moat)
I give them a lot of credit for noticing that nobody else was capitalizing on the existing container tech. But it did exist already. They didn't invent something new. They just put a nice cli, daemon, and image repository around it. I think they know the "license the engine" bit is a non-starter, as the higher level container orchestration platforms are already abstracting away from it.[1]
[1]http://blog.kubernetes.io/2016/12/container-runtime-interfac...
The small number of enterprises that are doing containers are going to Kubernetes for technical credibility or Redhat OpenShift for enterprise credibility.
Instead of trying to be a platform company for the enterprise, Docker should have just licensed and supported the Docker engine to the mass market (their one moat) and absolutely cleaned up.