Hereās the solution:
1. Login to docker hub.
2. Click on account settings in the top right corner.
3. Scroll down to token.
4. Create a token.
5. ssh to you EC2 instance.
6. Run docker login
ghcr.io
--username <your_username> --password <your_access_token>
here your ā<your_username>
" is username from step 4 and ā<your_access_token>
" is your password from step 4.
Hari om tatsat
Ā