I want to check if my current docker setup with BuildKit contains this commit.
How do I find out what BuildKit versions docker uses when I build an image with
DOCKER_BUILDKIT=1 docker build
Update: as commented by @N1ngu, if you're doing these steps on recent versions (>= 22), check vendor.mod
instead of vendor.conf
.
I don't think it does. My Docker version is pretty recent (20.10.12) and has a buildkit version that precedes that. Here's what I did to try to check:
$docker --version
Docker version 20.10.12, build e91ed5707e
Find the commit on github (or locally if you clone the repo)
Check the commit specified for buildkit on vendor.conf for that version:
github.com/moby/buildkit 8142d66b5ebde79846b869fba30d9d30633e74aa # v0.8.1