code: func parseSecurityOpts(securityOpts []string) ([]string, error) {
  	for key, opt := range securityOpts {
  		con := strings.SplitN(opt, "=", 2)
  		if len(con) == 1 && con[0] != "no-new-privileges" {
  			if strings.Contains(opt, ":") {
  				con = strings.SplitN(opt, ":", 2)
  			} else {
  				return securityOpts, errors.Errorf("Invalid --security-opt: %q", opt)
  			}
  		}
  		if con[0] == "seccomp" && con[1] != "unconfined" {
  			f, err := ioutil.ReadFile(con[1])
  			if err != nil {
  				return securityOpts, errors.Errorf("opening seccomp profile (%s) failed: %v", con[1], err)
  			}
  			b := bytes.NewBuffer(nil)
  			if err := json.Compact(b, f); err != nil {
  				return securityOpts, errors.Errorf("compacting json for seccomp profile (%s) failed: %v", con[1], err)
  			}
  			securityOpts[key] = fmt.Sprintf("seccomp=%s", b.Bytes())
  		}
  	}
  
  	return securityOpts, nil
  }
docs: // takes a local seccomp daemon, reads the file contents for sending to the daemon