Nonperturbative confinement in quantum chromodynamics. I. Study of an approximate equation of Mandelstam