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
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:and launching brave-browser-stable from the cli, I get:
I'm installing Brave in my Dockerfile like this:
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