@Deprecated
    public void registerContainerForCleanup(String containerId, String imageName) {
        setHook();
        registeredContainers.put(containerId, imageName);
    }
Register a container to be cleaned up, either on explicit call to stopAndRemoveContainer, or at JVM shutdown.

@param containerId the ID of the container
@param imageName   the image name of the container (used for logging)
@deprecated no longer supported API
core/src/main/java/org/testcontainers/utility/ResourceReaper.java