Skip to content

Docker: support `IpcMode` for IPC namespace sharing

Ben Boeckel requested to merge ben.boeckel/gitlab-runner:docker-ipc-mode into main

What does this MR do?

Add support for controlling the IPC mode with the Docker executor.

Why was this MR needed?

Fedora 37 now requires SHM for X11 access and guessing at the size required is not suitable.

https://discussion.fedoraproject.org/t/mit-shm-extension-required-for-new-opengl-mesa-rendering/44840

What's the best way to test this MR?

Using the new flag and checking the Docker container's properties to see that the IPC mode is set.

What are the relevant issue numbers?

Fixes: #2168 (closed)

Merge request reports