Skip to content

Applications which use shared memory don't work, how can it be enabled? #29

@bretton

Description

@bretton

How do we enable shared memory inside freebsd podman containers?

I've tried setting the following in /usr/local/etc/containers/container.conf to various options with no effect:

ipcns = "shareable"

I've also tried setting the flag --shm-size 1g for buildah bud and podman run, where output of podman inspect cntid confirms:

"ShmSize": 1073741824,

however applications like postgresql won't work inside a freebsd podman container because:

FATAL:  could not create shared memory segment: Function not implemented
DETAIL:  Failed system call was shmget(key=2, size=56, 03600).

Where's the correct place to raise this question? Bugreport for podman/ocijail packages, or somewhere else for the base freebsd container itself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    experience reportTell us about your experiences using Podman on FreeBSDquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions