Since the deleterious effects of greenhouse gases are well known, I was wondering if it is possible, for example, for thermoelectric plants to avoid this kind of emissions. More exact, I think it should be possible to compress the residual gases at the plant's outlet into tanks. Of course this would imply a more expensive plant and also an higher fuel consumption due to the compression stages, but it would avoid emissions at all. Moreover there also would be the problem to store the tanks once they are full, however I'd like to know if this kind of strategy could be used in a real plant.
You should look at the concept of carbon dioxide scrubbers. They are already employed in some coal plants, to mitigate their carbon emissions. It is a costly technology.
There are many technologies available. Usually, at the core of a CO2-scrubbing system used in power plants is an absorber in which a scrubbing solution absorbs the carbon dioxide from the power plant's flue gas at temperatures of about 65$^oC$. The following diagram is a modified version from the following report, which shows the some of the main steps in the process.