Because there are some good comments on this question I thought that they could be good answers and beneficial, in this particular question.
Therefore in order to be able to be more beneficial for the community, I thought to be able to get answered here.
In my gnu/linux system I have the /var as big as 20G but due to use with docker and the development of custom docker images the /var takes the 90% of the space so how can I same some space in /var?
I originally thought to do some backup as this question says, then repartition the /var. But seems too laborious to me. Is there a safer and less time-consuming alternative?