It is legal to use DC/OS community in commercial usage? I cannot decide (set focus for learning) what to use -- Mesos or DC/OS. Also what pros and cons DC/OS community edition versus Mesos?
There isn't a formal "Community Edition" these days, there's the standard open source version and an Enterprise version which is sold with a license.
The open source version is Apache-licensed and perfectly fine to be used commercially.