-
-
Notifications
You must be signed in to change notification settings - Fork 128
[BUG] Gitlab Registry login failed #873
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Hey! I wanted to deploy a custom image that I have pushed to Gitlab's registry. So, I added the registry, used a Personal Access token with the read_registry permission but I get an access denied error.
then under username I used my gitlab's username (also tried with email)
Just to validate my token was working I used docker login registry.gitlab.com and used my username and token and it successfully logged in.. I tried to do the same inside de dockhand's container and it worked, and I can pull the images fine, but when I go to browse on the UI I still get an error.
I also tried without https:// (hostname only) and I see the same error, but when I go to dockhand's logs I see an error about the URL being invalid.
Steps to reproduce
- Create new registry: input {Gitlab, https://registry.gitlab.com, username, token}
- Go to registry -> browse.
- Get an error response.
Logs
/*NOT LOGS, but my Dockhand's compose file*/
networks:
proxy:
external: true
services:
dockhand:
image: fnsys/dockhand:latest
container_name: dockhand
restart: unless-stopped
#ports:
# - 3000:3000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
- ../../:/stacks
labels:
- "traefik.enable=true"
- "traefik.http.routers.dockhand.rule=Host(`<redacted>`)"
- "traefik.http.routers.dockhand.entrypoints=https"
- "traefik.http.routers.dockhand.tls=true"
- "traefik.http.services.dockhand.loadbalancer.server.port=3000"
networks:
- proxyBrowser logs
Dockhand version
v1.0.23
Hawser version (if used)
No response
Connection mode
socket
Please confirm the following
- I have already searched for relevant existing issues and discussions before opening this report.
- I have updated the title field above with a concise description.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working