-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Image from private registry - a #88
Comments
@logopk What your |
|
So it works? |
@logopk I think I get it. If you want to set # ./docker-compose.yml
version: "3.5"
services:
diun:
image: crazymax/diun:2.6.1
volumes:
- "./userfile:/userfile"
- "./pwfile:/pwfile"
- "./diun.yml:/diun.yml:ro"
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- "TZ=Europe/Paris"
- "LOG_LEVEL=debug"
- "LOG_JSON=false"
restart: always
cadvisor:
image: registry.<xxx>:5000/logopk/cadvisor:v0.36.0-arm
labels:
- "diun.regopts_id=myregistry"
- "diun.watch_repo=true"
- "diun.max_tags=1"
restart: always # ./diun.yml
watch:
workers: 20
schedule: 0 0 * * * *
regopts:
myregistry:
username_file: ./userfile
password_file: ./pwfile
providers:
docker:
mydocker:
watch_stopped: true
watch_by_default: true |
Hey that works! Thank you. |
@logopk This is already documented here: https://github.com/crazy-max/diun/blob/master/doc/providers/docker.md |
. I see. Thank you! I promise to RTFM. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe only a config problem:
my docker provider returns an image from my private registry. (first time I have used my registry ;-) )
I see that one can add regopts to static images, but how can I handle registry-entries in providers.
I have tied to mount my .docker/config.json to diun container as the debug-output DockerAuthConfig points to, but that will not work.
Any suggestion?
The text was updated successfully, but these errors were encountered: