concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
Working rootless implementation
–
Start buildkit daemon:
sudo buildkitd >buildkitd.log 2>&1 &
Run equivalent of docker build:
buildctl build \
--frontend=dockerfile.v0 \
--local context=. \
--local dockerfile=. \
--output type=image,name=localhost:5000/test,push=true
–
List images in registry:
curl -s http://localhost:5000/v2/_catalog \
| jq --raw-output '.repositories[]'
List tags of image:
curl -s http://localhost:5000/v2/test/tags/list \
| jq --raw-output '.tags[]'