Yes, part of Germany was occuppied by the Western Allies until 1955. And there were sone technical restrictions on the sovereignty of Germany-as-a-whole until the 2+4 Treaty went into full effect in 1991.
But even the later of those dates was almost 17 years before Obama became President.
> It was all part of a coherent strategy to contain and confront the rival USSR
The occupation of the Axis Powers by the Allies, including the USSR, was not part of a strategy to contain the USSR. It may have formed part of the context of such a strategy, but that’s a different thing.