Fixes name of container variables

Changes the variable named container to $container. This fixes an issue
where both variables names were being used but only container was being
defined. The variable container is no longer used.