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

Docker container failing/exiting #803

Open
stevenmunro opened this issue Oct 6, 2021 · 3 comments
Open

Docker container failing/exiting #803

stevenmunro opened this issue Oct 6, 2021 · 3 comments

Comments

@stevenmunro
Copy link

My quirrel docker container failed after 37 hours. The redis container is still running.

docker-compose -v

docker-compose version 1.29.2, build 5becea4c

docker-compose ps

      Name                     Command               State     Ports  
----------------------------------------------------------------------
default_quirrel_1   docker-entrypoint.sh /bin/ ...   Exit 2           
default_redis_1     docker-entrypoint.sh redis ...   Up       6379/tcp

docker-compose logs
last line reads

quirrel_1  | Received SIGTERM - terminating server app ...

uname -a

Linux quirrel 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

docker-compose images

    Container               Repository             Tag       Image Id       Size  
----------------------------------------------------------------------------------
default_quirrel_1   ghcr.io/quirrel-dev/quirrel   latest   ccf91592650d   256.3 MB
@Skn0tt
Copy link
Member

Skn0tt commented Oct 7, 2021

Hi @stevenmunro! Received SIGTERM likely corresponds to this line (although it doesn't include "server app"):

console.log("Received %s - terminating ...", signal);

That makes me think it was terminated from the outside.

@stevenmunro
Copy link
Author

stevenmunro commented Oct 7, 2021 via email

@Skn0tt
Copy link
Member

Skn0tt commented Oct 7, 2021

Spot on! Did some digging through the history, here's the exact wording:

console.log("Received %s - terminating server app ...", signal);

You can try out this image, which is built off the current main branch: https://github.com/quirrel-dev/quirrel/pkgs/container/quirrel/8424894?tag=main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants