Quick Deployment Issue

Hello Everyone,

I am using the Quick Deployment to AWS but I am always hitting:

“push access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed”

I already tried a lot of things like creating a private hub of my app on docker desktop but nothing. I always get this error. This QUICK Deployment isn’t actually that QUICK as I already wasted so much time on this one. The documentations seems outdated and also the Udemy course.

I can successfully build the image with CLI: ./gradlew “-Pvaadin.productionMode=true” bootBuildImage --imageName=ehrcapsarii and I can see the image on my docker desktop.

However, when I try Quick Deployment, I get the mentioned error message above. I am running low on my wits and I have no idea what to do next. I am the only account on this docker account, I own it, I have 2FA enabled even.

‘’’
version: “3”
services:
ehrcapsarii:
image: ehrcapsarii
user: root
depends_on:
- postgres
volumes:
- jmix:/workspace/.jmix
environment:
- MAIN_DATASOURCE_URL=jdbc:postgresql://postgres/testehrjmix
ports:
- “8080:8080”
postgres:
image: postgres:latest
volumes:
- postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=testadmin
- POSTGRES_PASSWORD=testadmin
- POSTGRES_DB=testehrjmix
volumes:
jmix:
postgres:
‘’’

Above is my docker-compose. Please help.

Hello,

I think more logs are needed, pls attach them.
Tell us can you connect to the AWS
image

“push access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed”

Message is clear it says it can’t connect and why…

Kind regards,
Mladen

Hello,

I just noticed this guide, perhaps it can help

Kind regards,
Mladen

Hi,
Can you also share your Dockerfile and version of Jmix you are using?

Regards,
Mikhail