The image of the container.
(self)
| 35 | |
| 36 | @property |
| 37 | def image(self): |
| 38 | """ |
| 39 | The image of the container. |
| 40 | """ |
| 41 | image_id = self.attrs.get('ImageID', self.attrs['Image']) |
| 42 | if image_id is None: |
| 43 | return None |
| 44 | return self.client.images.get(image_id.split(':')[1]) |
| 45 | |
| 46 | @property |
| 47 | def labels(self): |