Development Environment
The project provides a devcontainer with a docker-compose.yml defining all required services.
Docker
Registry
bash
docker run -d -p 5000:5000 --restart=always --name registry registry:2
Buildkitd
bash
export BUILDKIT_VERSION=v0.15.1
export BUILDKIT_PORT=8888
docker run --detach --rm --privileged \
-p 127.0.0.1:$BUILDKIT_PORT:$BUILDKIT_PORT/tcp \
--name buildkitd \
--entrypoint buildkitd \
"moby/buildkit:$BUILDKIT_VERSION" --addr tcp://0.0.0.0:$BUILDKIT_PORT
Trivy
bash
docker run -d -p 8887:8887 --name trivy \
aquasec/trivy:0.50.4 server --listen=0.0.0.0:8887