<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def copy_from(self, container: Container, fn_container: str, fn_host: str ) -> None: """ Copies a given file from the container to a specified location on the host machine. """

        logger.debug("Copying file from container, %s: %s -> %s",
                     container.uid, fn_container, fn_host)
        cmd = "docker cp '{}:{}' '{}'".format(container.id, fn_container, fn_host)
        try:
            subprocess.check_output(cmd, shell=True)
            logger.debug("Copied file from container, %s: %s -> %s",
                         container.uid, fn_container, fn_host)
        # TODO implement error handling
        except subprocess.CalledProcessError:
            logger.exception("Failed to copy file from container, %s: %s -> %s",  # noqa: pycodestyle
                             container.uid, fn_container, fn_host)
            raise