Skip to content

How to run Binary Ninja in a Docker container? #6834

@zixuWang2022

Description

@zixuWang2022

I'm attempting to run Binary Ninja in a ​headless Docker container​ (without GUI) to use its ​Python API​ for automation tasks. However, the application fails to start due to Qt/XCB errors (pasted below), likely because the container lacks a display.

While we understand the GUI requires X11 configuration, our primary goal is to ​configure the license​ and use the API in a headless environment. Currently, the crash prevents even license setup.

qt.qpa.xcb: could not connect to display  
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.  
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.  

Available platform plugins are: wayland-egl, wayland, xcb.  

Aborted (core dumped)

Could you provide some configuration guidance for running it in a Docker container?

Metadata

Metadata

Assignees

No one assigned

    Labels

    State: IntendedIssue is actually intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions