In step 4 when attempting to perform build v2 with with the provenance flag it fails with message that attestation is not supported for docker driver.
see message below:
docker build -t node-app:v2 --sbom=true --provenance=mode=max .
[+] Building 0.0s (0/0) docker:default
ERROR: failed to build: Attestation is not supported for the docker driver.
Switch to a different driver, or turn on the containerd image store, and try again.
Learn more at https://docs.docker.com/go/attestations/
In step 4 when attempting to perform build v2 with with the provenance flag it fails with message that attestation is not supported for docker driver.
see message below:
docker build -t node-app:v2 --sbom=true --provenance=mode=max .
[+] Building 0.0s (0/0) docker:default
ERROR: failed to build: Attestation is not supported for the docker driver.
Switch to a different driver, or turn on the containerd image store, and try again.
Learn more at https://docs.docker.com/go/attestations/