Remove unused $container variable

The container variable seems unused - not sure if its required for anything else.