$ docker push 646450232747.dkr.ecr.ap-northeast-2.amazonaws.com/about_customer_front:latest
The push refers to repository [646450232747.dkr.ecr.ap-northeast-2.amazonaws.com/about_customer_front]
404fbf78e621: Pushing [==================================================>] 6.144kB
d14476274e15: Retrying in 15 seconds
ec70aff35f3e: Pushing [==================================================>] 1.279MB
7ac582cae032: Pushing 3.072kB
5f70bf18a086: Pushing 1.024kB
b3a2a6b907b5: Pushed
f617c13b24b9: Pushed
f2ad8f5c9e0d: Retrying in 1 second
bd7a2c2a8fcc: Pushing [==================================================>] 4.096kB
8b47b4b0c1c8: Pushing [==================================================>] 3.072kB
b4f221ab2cef: Pushed
4d31756873fb: Retrying in 5 seconds
denied: User: arn:aws:iam::646450232747:user/CLONET is not authorized to perform: ecr:UploadLayerPart on resource: arn:aws:ecr:ap-northeast-2:646450232747:repository/about_customer_front because no identity-based policy allows the ecr:UploadLayerPart action
$ sudo docker push 646450232747.dkr.ecr.ap-northeast-2.amazonaws.com/about_customer_front:latest