I did some research on this website: http://best-sci-fi-books.com/96-dystopian-science-fiction-books/ and < http://www.utopiaanddystopia.com/dystopian-fiction/dystopian-literature-list/> and basically went through most of the books which were published before 1987.
Here (in ranked order) are books that were closest to your description(especially the 'living in pods' description):
The story describes a world in which most of the human population has lost the ability to live on the surface of the Earth. Each individual now lives in isolation below ground in a standard room, with all bodily and spiritual needs met by the omnipotent, global Machine. Travel is permitted, but is unpopular and rarely necessary. Communication is made via a kind of instant messaging/video conferencing machine with which people conduct their only activity: the sharing of ideas and what passes for knowledge.
The story is set in a future where the bulk of humanity is kept in large underground shelters. The people are told that World War III is being fought above them, when in reality the war ended years ago.
The Sleeper Awakes (1910) is a dystopian science fiction novel by H. G. Wells about a man who sleeps for two hundred and three years, waking up in a completely transformed London, where, because of compound interest on his bank accounts, he has become the richest man in the world. The main character awakes to see his dreams realised, and the future revealed to him in all its horrors and malformities.
Ender's Game is a 1985 military science fiction novel by American author Orson Scott Card. Set in Earth's future, the novel presents an imperiled mankind after two conflicts with the "buggers", an insectoid alien species. In preparation for an anticipated third invasion, children, including the novel's protagonist, Ender Wiggin, are trained from a very young age through increasingly difficult games including some in zero gravity, where Ender's tactical genius is revealed.