containers / image

Work with containers' images
Apache License 2.0
862 stars 376 forks source link

Add support for Docker HealthConfig.StartInterval (v25.0.0+) #2345

Closed migesok closed 6 months ago

migesok commented 6 months ago

I'm trying to add support for Dockerfile HEALTHCHECK --start-interval param which has been added in Docker v25.0.0. So I figured out I have to update this library as well. The change is quite trivial but I couldn't say that I understand completely what I'm doing so feedback is appreciated.

migesok commented 6 months ago

@mtrmac thank you! I can add the fields in other places if you think it should be done. But I'm a bit out of my depth here - I haven't found anything "health" related in types.ImageInspectInfo. Either I need a bit more guidance or it's better if someone else does that.

mtrmac commented 6 months ago

Yes, ImageInspectInfo does not currently contain the health fields.