Openbullet docker container is killed after a while

I was using this command
sudo docker run --name openbullet2 --rm -p 8069:5000 -v /home/us/OB2/UserData/:/app/UserData/ -it openbullet/openbullet2:latest

to run OB2 on ubuntu VM the issue is the docker container of Openbullet is killed after 2 - 5 days so I can’t find any docker stats and I should run the command above again

idk if the issue is related to this bug
image

Hey, maybe docker kills the container if it’s eating up too much ram. I don’t think that error is related

1 Like

Try running it with --restart=always added at the end.

You can also convert it to a docker-compose and add watchtower (auto update) and watchdog (auto restart unhealthy containers)

2 Likes

You right it is killed due to high Ram usage [Bug]: Ram issue: just four running job, then 4G ram used.. · Issue #454 · openbullet/OpenBullet2 · GitHub

I tried multiple times to make a dump memory but I am not able to If you’d like I can send you my credentials to check the BUG

I don’t think I could help much, the only thing I can do is investigate high memory usage via memory dumps to see exactly which objects are being preserved that are building up the RAM

1 Like

Credentials sent to dump the memory