Skip to content

PRESSURE VESSEL CAN'T USE IN DOCKER #826

Open

Description

@wfq1971

pressure-vessel-wrap[277415]: W: Failed to load Vulkan ICD #1 from /root/.local/share/Steam/nvidia_icd.json: openat(/root/.local/share/Steam/nvidia_icd.json): 没有那个文件或目录
bwrap: Can't bind mount /oldroot/root/.local/share/Steam/steamapps/common/Steamworks Shared on /newroot/root/.local/share/Steam/steamapps/common/Steamworks Shared: Unable to remount destination "/newroot/root/.local/share/Steam/steamapps/common/Steamworks Shared" with correct flags: Invalid argument
chdir "/workspace/example/steamapps/common/MiniMetro"
Game Recording - would start recording game 287980, but recording for this game is disabled
Adding process 277900 for gameID 287980
ERROR: ld.so: object '/root/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/root/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Original command line:
/root/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /root/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=287980 -- /workspace/example/steamapps/common/SteamLinuxRuntime_4/_v2-entry-point --verb=waitforexitandrun -- /workspace/example/steamapps/common/Proton\ Hotfix/proton waitforexitandrun /workspace/example/steamapps/common/MiniMetro/MiniMetro.exe

LD_PRELOAD:
:/root/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so:/root/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so

LD_LIBRARY_PATH:
/root/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/root/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/workspace/v525_fix/usr/lib/i386-linux-gnu:/workspace/v525_fix/usr/lib/x86_64-linux-gnu:/usr/local/cuda/targets/x86_64-linux/lib:/usr/local/cuda-12/targets/x86_64-linux/lib:/usr/local/cuda-12.2/targets/x86_64-linux/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib:/root/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/root/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/root/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/root/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/root/.local/share/Steam/ubuntu12_32/steam-runtime/lib:/root/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib:/workspace/example/steamapps/common/MiniMetro

Processed command line:
/root/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /workspace/example/steamapps/common/SteamLinuxRuntime_4/_v2-entry-point --verb=waitforexitandrun -- /workspace/example/steamapps/common/Proton\ Hotfix/proton waitforexitandrun /workspace/example/steamapps/common/MiniMetro/MiniMetro.exe

ERROR: ld.so: object '/root/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/root/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 277909 for gameID 287980
ERROR: ld.so: object '/root/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 277911 for gameID 287980
Adding process 277912 for gameID 287980
pressure-vessel-wrap[277911]: W: Failed to load Vulkan ICD #1 from /workspace/example/steamapps/common/MiniMetro/nvidia_icd.json: openat(/workspace/example/steamapps/common/MiniMetro/nvidia_icd.json): No such file or directory
bwrap: Can't bind mount /oldroot/root/.local/share/Steam/steamapps/common/Steamworks Shared on /newroot/root/.local/share/Steam/steamapps/common/Steamworks Shared: Unable to remount destination "/newroot/root/.local/share/Steam/steamapps/common/Steamworks Shared" with correct flags: Invalid argument
Game terminated with code 1.
Press Enter to quit.

[7] + 270331 suspended (tty input) LD_LIBRARY_PATH= __GLX_VENDOR_LIBRARY_NAME=nvidia VK_DRIVER_FILES= steam

Activity

  1. smcv commented on Jun 4, 2026

    @smcv
    Contributor

    bwrap: Can't bind mount /oldroot/root/.local/share/Steam/steamapps/common/Steamworks Shared on /newroot/root/.local/share/Steam/steamapps/common/Steamworks Shared: Unable to remount destination "/newroot/root/.local/share/Steam/steamapps/common/Steamworks Shared" with correct flags: Invalid argument

    Yes, that's correct, you can't normally use pressure-vessel inside Docker. This is because Docker doesn't allow the kernel functionality that bubblewrap needs in order to do its job: see containers/bubblewrap#505.

    In general, running a container inside a different container often isn't possible. This is a kernel restriction, pressure-vessel doesn't have a choice about this.

    It is possible to run bubblewrap in a Docker (or unprivileged Podman) container if it is configured to have less restrictive permissions: containers/bubblewrap#505 has various suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions