The technological problem of forming a coating of arbitrary thickness on the inner surface of the wall of a straight pipe due to the multilayer application of a material having the property of viscoelasticity is considered. It is assumed that during the forming process, the coating experiences the action of inertia forces due to the relatively intense rotation of the coated wall. To determine the residual stresses in the resulting coating, a non-classical model of deformable solid mechanics, based on the concepts of growing continuum is used. With the help of the developed model, boundary value problems are formulated, the solutions of which make it possible to construct the desired residual stress distributions for arbitrary programs for changing the parameters of the implemented technological process.