Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running deno repl in docker panics #28098

Open
tareasR opened this issue Feb 13, 2025 · 1 comment
Open

Running deno repl in docker panics #28098

tareasR opened this issue Feb 13, 2025 · 1 comment
Labels
repl related to the Read-Eval-Print-Loop functionality of Deno

Comments

@tareasR
Copy link

tareasR commented Feb 13, 2025

Trying to execute deno on Docker I got the message "Deno has panicked".

Steps:

  1. docker pull denoland/deno
  2. docker run -it denoland/deno repl

Answer:

Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: linux x86_64
Version: 2.1.9
Args: ["deno", "repl"]

thread 'main' panicked at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/thread/mod.rs:678:29:
failed to spawn thread: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@akky
Copy link

akky commented Feb 19, 2025

@tareasR

I met the same panic error, however I could not reproduce it with some other docker servers so I tested more.
https://github.com/akky/docker-server-deno-check/actions/runs/13407289839/job/37449458099

It seems that the panic causes only when the version of Docker server is 20.10.9 or earlier. Docker server update might solve it.

@marvinhagemeister marvinhagemeister changed the title Deno has panicked Running deno repl in docker panics Feb 19, 2025
@marvinhagemeister marvinhagemeister added the repl related to the Read-Eval-Print-Loop functionality of Deno label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repl related to the Read-Eval-Print-Loop functionality of Deno
Projects
None yet
Development

No branches or pull requests

3 participants