mirror of
https://github.com/containers/podman.git
synced 2025-05-21 09:05:56 +08:00
@ -564,7 +564,7 @@ func (r *Runtime) setupRootlessPortMappingViaRLK(ctr *Container, netnsPath strin
|
|||||||
if stdoutStr != "" {
|
if stdoutStr != "" {
|
||||||
// err contains full debug log and too verbose, so return stdoutStr
|
// err contains full debug log and too verbose, so return stdoutStr
|
||||||
logrus.Debug(err)
|
logrus.Debug(err)
|
||||||
return errors.Errorf("failed to expose ports via rootlessport: %q", stdoutStr)
|
return errors.Errorf("rootlessport " + strings.TrimSuffix(stdoutStr, "\n"))
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user