Skip to content

Chromium based apps do not run (Brave & Electron) #45

@slayt12

Description

@slayt12

I built a custom image and am trying to use it as a web based programming IDE with VS Code, npm, bun and Electron. When trying to run electron-forge start as a regular kasm-user, I get the following message:

Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
[2133:0421/191748.542461:FATAL:zygote_host_impl_linux.cc(201)] Check failed: . : Invalid argument (22)
[2135:0100/000000.564476:ERROR:zygote_linux.cc(672)] write: Broken pipe (32)

and launching brave-browser-stable from the cli, I get:

Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
[2200:2200:0421/191805.219945:FATAL:zygote_host_impl_linux.cc(202)] Check failed: . : Operation not permitted (1)
[0421/191805.227319:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0421/191805.227353:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
/usr/bin/brave-browser-stable: line 48:  2200 Trace/breakpoint trap   (core dumped) "$HERE/brave" "$@"

I'm installing Brave in my Dockerfile like this:

RUN sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
RUN sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
RUN sudo dnf install brave-browser -y

I see there is a Brave browser Kasm built from Ubuntu, but I'm basing my custom image from Fedora 39.
Attached is my Dockerfile
Dockerfile.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions