mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
pkg: fix shmsize error message
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -54,7 +54,7 @@ func (s *SpecGenerator) Validate() error {
|
||||
}
|
||||
// shmsize conflicts with IPC namespace
|
||||
if s.ContainerStorageConfig.ShmSize != nil && !s.ContainerStorageConfig.IpcNS.IsPrivate() {
|
||||
return errors.New("cannot set shmsize when creating an IPC namespace")
|
||||
return errors.New("cannot set shmsize when running in the host IPC Namespace")
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user