render on a transparent background (volume is almost invisible)
The problem was solved through the composer.
I found the answer in one of the old posts of one of the participants Gez.
In discussion: Transparent Image different in viewport than render

Another pretty good solution, namely the “Attempt 1”. Thanks to the user jozxyqk
https://blender.stackexchange.com/a/32964/63657