Congress and the courts have held that Title VII of the Civil Rights Act of 1964, which ensures all individuals are treated equally before the law with respect to civilian employment, does not apply to the military profession. No less than seven major Supreme Court decisions support this.
As such, the military doesn't accept just anyone who wants to join. You must be qualified, under current federal laws and regulations and/or you must receive an approved waiver for the condition which may make you disqualified. So, what are the general qualifications to enlist in the military?