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
I set up watchtower to update an image from a private registry with the documentation from https://containrrr.dev/watchtower/private-registries/
When mounting the config.json as it is documented, the container starts, but does not scan any images. The debug logging shows the followeing:
"No credentials for : found" config_file=/config/config.json
It is therefore looking for the config file in /config/config.json but in the documentation it should be mounted like this:
- <PATH_TO_HOME_DIR>/.docker/config.json:/config.json
Steps to reproduce
Create config.json in <PATH_TO_HOME_DIR>/.docker/config.json
See error:
"No credentials for : found" config_file=/config/config.json
See logging:
level=info msg="Session done" Failed=0 Scanned=0 Updated=0 notify=no
Expected behavior
It should find the config.json and be able to authenticate. When mounting it like this:
<PATH_TO_HOME_DIR>/.docker/config.json:/config/config.json it works
Screenshots
No response
Environment
Linux
x86_64
27.4.1-ce
Your logs
"No credentials for : found" config_file=/config/config.json
Additional context
No response
The text was updated successfully, but these errors were encountered:
Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏
Describe the bug
I set up watchtower to update an image from a private registry with the documentation from https://containrrr.dev/watchtower/private-registries/
When mounting the config.json as it is documented, the container starts, but does not scan any images. The debug logging shows the followeing:
"No credentials for : found" config_file=/config/config.json
It is therefore looking for the config file in /config/config.json but in the documentation it should be mounted like this:
- <PATH_TO_HOME_DIR>/.docker/config.json:/config.json
Steps to reproduce
"No credentials for : found" config_file=/config/config.json
level=info msg="Session done" Failed=0 Scanned=0 Updated=0 notify=no
Expected behavior
It should find the config.json and be able to authenticate. When mounting it like this:
<PATH_TO_HOME_DIR>/.docker/config.json:/config/config.json it works
Screenshots
No response
Environment
Your logs
Additional context
No response
The text was updated successfully, but these errors were encountered: