code: def restart(self):
          
          yield from self.manager.query("POST", "containers/{}/restart".format(self._cid))
          log.info("Docker container '{name}' [{image}] restarted".format(
              name=self._name, image=self._image))
docs: Restart this Docker container.