Docker-py exit code

Hi,

I’m trying to get the exit code of a gradle build happening inside the container. I’m using docker-py client. I know this issue was addressed in docker few years back. But, I don’t see a way to get it from docker-py Client.

Can someone please help?

thanks,
sudha