public synchronized ContainerShutdownDescriptor removeContainer(String containerId) {
        ContainerShutdownDescriptor descriptor = shutdownDescriptorPerContainerMap.remove(containerId);
        if (descriptor != null) {
            removeContainerIdFromLookupMaps(containerId);
            removeDescriptorFromPomLabelMap(descriptor);
        }
        return descriptor;
    }
Remove a container from this container (if stored) and return its descriptor

@param containerId id to remove
@return descriptor of the container removed or <code>null</code>
src/main/java/io/fabric8/maven/docker/service/ContainerTracker.java