Comments (7)
now the puzzle is clear, thank you very much indeed.
The only problem still here is the gmail account not sending emails, but this is a problem with many app even when you use insecure app password, not diun related.
from diun.
Hi @sgiannulli, you have to create the diun.yml
before running docker-compose up -d
, otherwise a folder named diun.yml
will be created instead.
from diun.
Hi,
ok, first step done but now:
Sun, 31 May 2020 18:52:32 CEST INF Starting Diun 3.0.0
Sun, 31 May 2020 18:52:32 CEST INF Cron triggered
Sun, 31 May 2020 18:52:32 CEST ERR Cannot create Docker client error="Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?" provider=docker
Sun, 31 May 2020 18:52:32 CEST WRN No image found
Sun, 31 May 2020 18:52:32 CEST INF Cron initialized with schedule 0 * * * *
Sun, 31 May 2020 18:52:32 CEST INF Next run in 7 minutes (2020-05-31 19:00:00 +0200 CEST)
Docker is running at /var/run/docker.sock
Diun config data are on a different hard drive:
- /srv/dev-disk-by-label-orangepi2/config/diun/data:/data
- /srv/dev-disk-by-label-orangepi2/config/diun/diun.yml:/diun.yml:ro
Thank you
from diun.
@sgiannulli You have to mount /var/run/docker.sock:/var/run/docker.sock
as explained in https://github.com/crazy-max/diun/blob/master/doc/providers/docker.md#quick-start
from diun.
yes, right.
Sun, 31 May 2020 19:23:27 CEST WRN No image found
I can only think that if Diun is not running inside the same docker-compose of another container it cannot monitor it, right?
from diun.
@sgiannulli
If watch_by_default
is disabled (default), therefore Diun will not scan containers not labellized.
I can only think that if Diun is not running inside the same docker-compose
No Diun scans all containers of the stipulated Docker endpoint (/var/run/docker.sock
in your case).
from diun.
@sgiannulli
The only problem still here is the gmail account not sending emails, but this is a problem with many app even when you use insecure app password, not diun related.
Something like that should work:
notif:
mail:
host: "smtp.gmail.com"
port: 587
ssl: true
insecure_skip_verify: false
username: "foo"
password: ""
from: "[email protected]"
to: "[email protected]"
from diun.
Related Issues (20)
- tls: failed to verify certificate: x509: certificate is valid for ip-172-31-34-156.ec2.internal, not auth.docker.io HOT 1
- Error when using "DIUN_NOTIF_MAIL_HOST" variable HOT 3
- DIUN_NOTIF_TELEGRAM_TOKENFILE
- Newer semver image tags notification for `file` provider
- Cannot send notification with Signal-REST to Signal group chat
- Diun not found any image. HOT 2
- Nomad provider errors out with "invalid memory address or nil pointer dereference" HOT 2
- Google Artifact Registry Service Account key.json as PASSWORDFILE
- Diun doesn't send notifications about new images found HOT 2
- Check images behind docker proxy
- Make "info" logs less verbose
- Feature request: Support for generic push healthchecks
- [Feature request] Support Pushover message priority HOT 1
- Only receiving notification after image has already been updated HOT 1
- Timezone discrepancy between container and host HOT 21
- SECRETS file error when utilized in NOTIF mail TO option via 'diun.yml' HOT 2
- How can I configure to ignore updates to certain images?
- It's possible remove color from logs?
- ERR Ntfy notification failed error="0 unauthorized: "
- Static webpage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diun.