Do not put ANY guinea pig in an aquarium or "terrarium". There is a) not enough room for one guinea b) not enough ventilation, even with the cover off.
The problem you might be facing is that your pig is lonely and wants attention. Guinea pigs are extremely social creatures and they crave attention. He is most likely trying to get you to feed him, hold him, or he's bored and may need out of the cage for a while. Do you have hangy toys he can play with? Have you thought of expanding his cage size? That is sometimes a 'key" factor. Guinea's are herding animals, and 2 are always better than one, if you are not going to hold him for at least an hour a night.
This is the size of my cage that houses 24 (8 pigs on each level).