whats-up-docker
whats-up-docker copied to clipboard
Linuxserver repo
I have 3 sensors that do not play well in home assistant (unknown state)
They're all from the linuxserver/ repo , can i somehow add them ?
containers: Heimdall, Ubooquity, Code-server
they give a :
Error Unsupported Registry unknown
Are these containers pulled from lscr.io?
If so, the support of this registry is not automatically enabled because it requires you to provide Github credentials.
So you have to configure it first. See the documentation here.
I had same pb.
I have well configure WUD with a personal token.
I'm using latest version of WUD.
error in logs:
WARN whats-up-docker/watcher.docker.local: Error when processing (Unsupported Registry unknown) (container=local_heimdall)
my docker compose for heimdall:
version: "2.1"
services:
heimdall:
image: lscr.io/linuxserver/heimdall
container_name: heimdall
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- ./data/:/config
ports:
- 8082:80
- 8443:443
restart: unless-stopped
I had same pb.
I have well configure WUD with a personal token.
I'm using latest version of WUD.
error in logs:
WARN whats-up-docker/watcher.docker.local: Error when processing (Unsupported Registry unknown) (container=local_heimdall)
my docker compose for heimdall:
version: "2.1" services: heimdall: image: lscr.io/linuxserver/heimdall container_name: heimdall environment: - PUID=1000 - PGID=1000 - TZ=Europe/London volumes: - ./data/:/config ports: - 8082:80 - 8443:443 restart: unless-stopped
@royto what i did was in the docker-compose.yml i added the following: WUD_REGISTRY_GHCR_TOKEN=$WUD_REGISTRY_GTH_TOKEN
Where WUD_REGISTRY_GTH_TOKEN
is the token you get from https://github.com/settings/tokens
There i selected the Tokens Classic and with Generate new token
i selected Generate new token (classic)
.
There you must give the token a name and you must select the option: read:packages
That option is not that far in the list,, like the 9th option.
Then the token you get from there i place in my .env
file like this:
WUD_REGISTRY_GHCR_TOKEN=[TOKEN-From-The-Github-Site]
I have set the token in the wud docker-compose. I have to set it for all container using this registry ? This is not what I understand from the documentation.
Looking at the logs I get the following error:
07:00:00.791 WARN whats-up-docker/registry: Some registries failed to register (Error when registering component lscr ("username" is not allowed))
I remove the WUD_REGISTRY_LSCR_USERNAME
env from WUD and it working now