code: def add_file_or_directory_volume(self,
                                       runtime,         # type: List[Text]
                                       volume,          # type: MapperEnt
                                       host_outdir_tgt  # type: Optional[Text]
                                       ):  # type: (...) -> None
          
          if not volume.resolved.startswith("_:"):
              _check_docker_machine_path(docker_windows_path_adjust(
                  volume.resolved))
              self.append_volume(runtime, volume.resolved, volume.target)
docs: Append volume a file/dir mapping to the runtime option list.