Even with a double attending salary income, you could still come out behind in this extraordinarily unstable market. I doubt interest rates are going to rise soon, and break-even, if you buy into a declining market, could take you much longer than 5 years. Much, much longer. About the only military town I would think about buying property in right now would be San Antonio, TX, and even then, I would not expect to be topside for a few years.
DC is labelled as one of the worst sellers markets right now. California markets vary a lot, some are probably OK, like San Diego near the water, but inland, I would wonder about that. If I had to buy in DC, I would go inside the Beltway if at all possible and buy a smaller house in an older neighborhood that has lots large enough to do enlargement if you decide to go that way.
You haven't said where you are looking, yet.
Unless you are really certain of the market where you are going, you really ought to take a good look at short-term rental, 6 months, and decide what to do. Just about the worst thing that could happen after you buy your new house is for half your neighbors to hang their bank forclosure sale signs, and that might not be so much of an exaggeration, at that.