deno icon indicating copy to clipboard operation
deno copied to clipboard

Crashed when docker compose

Open KunkaiLin1205 opened this issue 1 year ago • 5 comments

Hi, I am trying to deploy deno myself on jump server, the image looks fine when I test it locally, but it crashed when I try it remotely.

Version: Deno 1.39.1

#Fatal error in , line 0 #Check failed: Start().

#FailureMessage Object: 0x7ffc56a45e30

KunkaiLin1205 avatar Apr 22 '24 09:04 KunkaiLin1205

@KunkaiLin1205 Thanks for reporting an issue. Based on the information shared we know that an error happened but I'm not sure if that's enough to be able to reproduce it on our end and fix it. Can you share more details of your setup? Like what does your code do? What does the code look like that triggers the error. Does upgrading to the latest Deno version resolve this?

marvinhagemeister avatar Apr 23 '24 07:04 marvinhagemeister

Thanks for replying! My case might be a little bit complicated, but I try it with the example provided in deno-docker and get the same error. I produced the image by docker build in M1 machine but setting the platform appropriately (the jump server is x86, but as I set platform, I believe it's not a compatibility problem). On jump server, I just docker run the image I pushed.

KunkaiLin1205 avatar Apr 24 '24 04:04 KunkaiLin1205

Hi, Are there any follow ups :), btw, the deno version has updated to the latest

KunkaiLin1205 avatar Apr 25 '24 07:04 KunkaiLin1205

I probably find the main reason, I try to docker run denoland/deno:1.42.1 bash -c 'deno' on jump server, and it gets the same error. The version on jump server is:

deno 1.42.4 (release, x86_64-unknown-linux-gnu) v8 12.3.219.9 typescript 5.4.3

docker info: Server: Containers: 15 Running: 14 Paused: 0 Stopped: 1 Images: 86 Server Version: 19.03.1

I guess it might be related to the server version here?

KunkaiLin1205 avatar Apr 26 '24 09:04 KunkaiLin1205

You can try --security-opt seccomp=unconfined on docker version below 20.0

oyzhen avatar May 20 '24 05:05 oyzhen

Sorry, we can't debug this unless you provide a reproduction of some sort (a repo with a script + docker + docker-compose file we can run). Feel free to reopen this issue once you have created such a reproduction :)

lucacasonato avatar Jun 08 '24 17:06 lucacasonato