code: func LoadComposefile(dockerCli command.Cli, opts options.Deploy) (*composetypes.Config, error) {
  	configDetails, err := getConfigDetails(opts.Composefiles, dockerCli.In())
  	if err != nil {
  		return nil, err
  	}
  
  	dicts := getDictsFrom(configDetails.ConfigFiles)
  	config, err := loader.Load(configDetails)
  	if err != nil {
  		if fpe, ok := err.(*loader.ForbiddenPropertiesError); ok {
  			return nil, errors.Errorf("Compose file contains unsupported options:\n\n%s\n",
  				propertyWarnings(fpe.Properties))
  		}
  
  		return nil, err
  	}
  
  	unsupportedProperties := loader.GetUnsupportedProperties(dicts...)
  	if len(unsupportedProperties) > 0 {
  		fmt.Fprintf(dockerCli.Err(), "Ignoring unsupported options: %s\n\n",
  			strings.Join(unsupportedProperties, ", "))
  	}
  
  	deprecatedProperties := loader.GetDeprecatedProperties(dicts...)
  	if len(deprecatedProperties) > 0 {
  		fmt.Fprintf(dockerCli.Err(), "Ignoring deprecated options:\n\n%s\n\n",
  			propertyWarnings(deprecatedProperties))
  	}
  	return config, nil
  }
docs: // LoadComposefile parse the composefile specified in the cli and returns its Config and version.