code: func (c *containerConfig) networks() []string {
  	var networks []string
  
  	for name := range c.networksAttachments {
  		networks = append(networks, name)
  	}
  
  	return networks
  }
docs: // networks returns a list of network names attached to the container. The
  // returned name can be used to lookup the corresponding network create
  // options.