You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker discovery is working and jobs are registered when I bring up containers with ofelia labels. However, now that I have multiple jobs for multiple containers across several docker compose projects, I am finding that when I bring down those containers, the associated jobs do not get deregistered as expected. This leads to "No such container" errors next time a job is due...
ERROR [Job "test" (9714b2942917)] Finished in "1.296536ms", failed: true, skipped: false, error: error creating exec: No such container: testcontainer
The weird thing is that I tested the registration/deregistration of jobs not long ago and it all seemed to be working (in fact I chose the netresearch fork precisely because it doesn't work with the mcuadros image).
What could be causing ofelia to miss docker events or otherwise fail to deregister jobs?
Config:
ofelia:
container_name: ofelia
image: ghcr.io/netresearch/ofelia:latest
command: daemon --config=/etc/ofelia/config.ini
volumes:
# Config for global settings (doesn't work as labels):
- ./volumes/ofelia/etc:/etc/ofelia/:rw
# Docker socket so jobs defined as labels on other containers can be dynamically registered:
- /var/run/docker.sock:/var/run/docker.sock:ro
# Get trusted certs from host:
- /etc/ssl/certs:/etc/ssl/certs:ro
The text was updated successfully, but these errors were encountered:
I have a strange issue that I can't work out.
Docker discovery is working and jobs are registered when I bring up containers with ofelia labels. However, now that I have multiple jobs for multiple containers across several docker compose projects, I am finding that when I bring down those containers, the associated jobs do not get deregistered as expected. This leads to "No such container" errors next time a job is due...
The weird thing is that I tested the registration/deregistration of jobs not long ago and it all seemed to be working (in fact I chose the netresearch fork precisely because it doesn't work with the mcuadros image).
What could be causing ofelia to miss docker events or otherwise fail to deregister jobs?
Config:
The text was updated successfully, but these errors were encountered: