docker run \
-it \
--rm \
--privileged \
-v /home/lizhe/buildkit/:/tmp/work \
--entrypoint buildctl-daemonless.sh \
moby/buildkit:master \
build \
--frontend dockerfile.v0 \
--local context=/tmp/work \
--local dockerfile=/tmp/work
--output type=tar,dest=/tmp/work/daemonless_out.tar