You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[7BskipStatuses: file has already been closed
failed commit on ref "manifest-sha256:b952282490bfea5fafd5e29c3fbf34ed76c75fb3a6f27f426f15c16ad56086ad": unexpected status from PUT request to https://01234567890.dkr.ecr.ap-southeast-1.amazonaws.com/v2/sr/manifests/179925523046539500-6s3mh2aluueng: 400 Bad Request
2024-11-08 08:25:23,788 - MainThread - awscli.clidriver - DEBUG - Exception caught in main()
Traceback (most recent call last):
File "awscli\clidriver.py", line 499, in main
File "awscli\clidriver.py", line 634, in __call__
File "awscli\customizations\commands.py", line 206, in __call__
File "awscli\customizations\lightsail\push_container_image.py", line 65, in _run_main
File "subprocess.py", line 571, in run
subprocess.CalledProcessError: Command '['lightsailctl', '--plugin', '--input-stdin']' returned non-zero exit status 1.
Command '['lightsailctl', '--plugin', '--input-stdin']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered:
kahwooi
changed the title
Failed to push container image, failed commit on ref "manifest-s ... ": unexpected status from PUT request to https://041381048620.dkr.ecr.....
Failed to push container image, failed commit on ref "manifest-s ... ": unexpected status from PUT request to https://01234567890.dkr.ecr.....
Nov 8, 2024
paxan
changed the title
Failed to push container image, failed commit on ref "manifest-s ... ": unexpected status from PUT request to https://01234567890.dkr.ecr.....
"Unexpected status from PUT request ..." when using aws lightsail push-container-image
Nov 21, 2024
We think this issue happens when an image, that was built while using Docker's containerd image store feature, is being pushed to Lightsail-managed container image repository (basically, when you use aws lightsail push-container-image ... command).
Workaround
Please try disabling "containerd image store" feature. The screenshot below shows how it looks when it is enabled. Ensure it is unchecked and press "Apply & restart" button.
Once that feature is disabled, please build your container app and then push it. For example, if the local image ref is blog-app, then you'll do something like this:
AWS CLI version:
AWS push image command:
aws lightsail push-container-image --region ap-southeast-1 --service-name multisites --label latest --image fileserver:latest --debug
Response with error:
The text was updated successfully, but these errors were encountered: