I fail to see how they are in any way comparable. MySQL and Mongo both have made a lot of money selling into the enterprise with the decades old per server licensing model. Now Mongo is starting to make inroads into the data warehouse space with their partnerships with Teradata, SAP etc. They aren't selling a PaaS or web application that will just be used by a development team here and there.
Docker seems to be much closer to Atlassian. Which could well be their biggest competitor one day.