Dynamics of the homogeneous SU (2) Yang–Mills fields in thermostats and at their stochastic quantization are investigated by the Langeven`s sources method.
It is shown, that with growth of temperature the phase transition confinement-deconfinement in chromodynamics takes place, and quantization of the Yang–Mills fields results in increase of radius of correlation (confinement) colors.