Cant deploy with private docker image

Hello,
I have multiple private docker images on a docker hub registry.
When I do a docker pull it works without problems.
However, when I try to deploy a release with my docker-compose.yml which contains my services I get an error

(HTTP code 500) server error - Head "https://registry-1.docker.io/v2/xxxx": unauthorized: incorrect username or password

To deploy I simply use
balena deploy xxxx/xxx --registry-secrets ./registry-secrets.yml
The docker image exists, and my docker-hub credentials are correct since I can do a docker pull
Iā€™m using balena cli version 17.4.5 and docker version 24.0.5.
Any ideas

Hello, I would first update to the latest release of the CLI just to be safe, then also perhaps try the registry secrets in the json format and see if that makes any difference: Balena CLI Masterclass - Balena Documentation

1 Like

Hello,
thank you for your reply.
I confirm that the pull works with the Registry-secrets file in json format and no longer works with the yml format on version 18.1.5

1 Like

Thanks for the confirmation @Firat

Let us know how we can help you more!