added public_port variable to _get_lru_instance_details. If docker restarts an instance with a new port, _get_lru_instance_details is called.  If the container matchs in the lru cache ( the cache contains a list diction with key - variables _get_lru_instance_details is called with and value - result from from inspect_container ) inspect_container run and the new container details are added to the cache. Beforei this change a port change didnt trigger inspection as it was not part of the key.
added public_port variable to _get_lru_instance_details. If docker
restarts an instance with a new port, _get_lru_instance_details is
called.  If the container matchs in the lru cache ( the cache contains a
list diction with key - variables _get_lru_instance_details is called
with and value - result from from inspect_container ) inspect_container
run and the new container details are added to the cache. Beforei this
change a port change didnt trigger inspection as it was not part of the
key.

hmrc/captain,hmrc/captain