capitalism isn't a ideology at all. Capitalism is just an economic system, and one which works orthogonally to any ideology or political system.
Well, except communism, as their ideology is based on the idea that a totalitarian state dominates all aspects of society, including what people can and cannot do with their professional skills and where any resource can and cannot be used.
That's the main reason why communists are so hell bent on attacking capitalism, as it's an economic system that enables people to choose how to earn their living and how to spend their resources in a manner which is totallly independent of the communist elites' control and the policies that they dictate.