app
app copied to clipboard
Can't push to ECR
Description
Can't push to ECR.
This is likely to be an issue on ECR side.
Steps to reproduce the issue:
Push to ECR
Describe the results you received:
$ docker app push ./example-voting-app.dockerapp --platform linux/amd64 -t 42.dkr.ecr.ap-northeast-1.amazonaws.com/foo
42.dkr.ecr.ap-northeast-1.amazonaws.com/foo
postgres:9.4
application/vnd.docker.distribution.manifest.list.v2+json [0/1] (sha256:4d915cbb...)
linux/amd64 [15/15] (sha256:1afb5315...)
sha256:d48379c8...: Copy
sha256:fc718110...: Copy
sha256:81cfa12d...: Copy
sha256:793d305c...: Copy
sha256:41e3ced3...: Copy
sha256:a300bc9d...: Copy
sha256:3c6a5c38...: Copy
sha256:fb8c79b2...: Copy
sha256:fcda1144...: Copy
sha256:767434af...: Copy
sha256:7dea2c2f...: Copy
sha256:e57f8a8a...: Copy
sha256:827eff11...: Copy
sha256:e16cdce5...: Copy
sha256:09278a79...: Copy
fixing up "42.dkr.ecr.ap-northeast-1.amazonaws.com/foo:latest" for push: failed commit on ref "manifest-sha256:1afb531555cd4b90a66401f98a87a6c9672f78042813bf53d31c3141f06fd612": unexpected status: 405 Method Not Allowed
Describe the results you expected: Should success
Output of docker-app version:
Version: v0.8.0
Git commit: 7eea32b7
Built: Tue Jun 11 20:53:26 2019
OS/Arch: linux/amd64
Experimental: off
Renderers: none
Invocation Base Image: docker/cnab-app-base:v0.8.0
Hello @AkihiroSuda. We ran an investigation into this issue. It seems that Amazon ECR does not support to push an image without a tag (only referenced by its digest) but this feature is used by Docker App when pushing the service images of an app. We are currently working on a way to mitigate this issue.