<p>Today I try to run a cent OS based container as second conatiner in my POD.
While deploying my deployment.yaml I've got this message.</p>

<pre><code>ImageInspectError: Failed to inspect image "XXX.dkr.ecr.eu-west-1.amazonaws.com/msg/ym_image:v1.0": 
Id or size of image "XXX.dkr.ecr.eu-west-1.amazonaws.com/msg/my_image:v1.0" is not set
</code></pre>

<p>Does somebody know how to set this ID or Size?</p>

<p>Kind regards
Markus</p>

markus0074
<p>I am not familiar with aws repositories but at first look it seems you are trying to pull image with improper name:tag.<br/></p>

<p>Example of well tagged repository:<br/>
<strong>docker tag hello-world aws_account_id.dkr.ecr.us-east-1.amazonaws.com/hello-repository</strong><br/>
Optionally you can add version "<em>hello-repository:latest</em>"
You can login to aws account or list your repositories and verify with settings in your deployment.<br/></p>

<p>Could you please verify please if your repository doesn't start at: "msg"<br/>
XXX.dkr.ecr.eu-west-1.amazonaws.com/<strong>msg</strong>/ym_image:v1.0"<br/></p>

<p>All information about repositories in aws you can find here:
<a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html</a>
Try to pull mentioned image using Docker and share with your findings.</p>
