'How to check the default buildkit version?

Background

I want to check if my current docker setup with BuildKit contains the this commit.

Question

How do I find out what BuildKit versions docker uses when I build an image with

DOCKER_BUILDKIT=1 docker build


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source