Ho Chi Minh was a nationalist as well as a communist. This is well documented and arguably the more abusive communist policies that harmed the Vietnamese people were not something he ever envisioned. Given the violent history of communism, why would he identify communism as the answer for independence for Vietnam?
Well, what did capitalism ever do for his country? It led to exploitation and colonization by the French.
There is much more to this, of course, but it’s worth thinking about.