Currently agent containers get assigned random names by docker. It would be nice to have them named according to the Jenkins build name.
Possible workaround (not tested):
agent { docker { image 'foo' args "--name $currentBuild.displayName" } }
Bulk closing resolved issues.