The Air Force, Navy (includes Marine pilots), Army, and Coast Guard offer flight training. In the case of the Air Force Reserves and Air National Guard, after initial training (a little over a year) you can go back to civilian life and, once you have enough hours, qualify to fly with an airline.