Use iteritems instead of items in Docker check