def __init__(self, image, container_id, name=None, popen_instance=None):
self.d = get_client()<EOL>super(DockerContainer, self).__init__(image, container_id, name)<EOL>self.popen_instance = popen_instance<EOL>self._inspect_data = None<EOL>self.metadata = ContainerMetadata()<EOL>
:param image: DockerImage instance (if None, it will be found from the container itself)
:param container_id: str, unique identifier of this container
:param name: str, pretty container name
:param popen_instance: instance of Popen (if container was created using method
    `via_binary`, this is the docker client process)