code: func (cli *Client) ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error) {
  	var response types.IDResponse
  
  	if err := cli.NewVersionError("1.25", "env"); len(config.Env) != 0 && err != nil {
  		return response, err
  	}
  
  	resp, err := cli.post(ctx, "/containers/"+container+"/exec", nil, config, nil)
  	defer ensureReaderClosed(resp)
  	if err != nil {
  		return response, err
  	}
  	err = json.NewDecoder(resp.body).Decode(&response)
  	return response, err
  }
docs: // ContainerExecCreate creates a new exec configuration to run an exec process.