Hey, I am using Rancher desktop[dockerd] and getti...
# rancher-desktop
b
Hey, I am using Rancher desktop[dockerd] and getting an error.. Is there any workaround except swithcing to containerd?
Copy code
docker buildx bake -f docker-bake.hcl                                                                                                                                                
[+] Building 0.2s (1/1) FINISHED                                                                                                                                                                                                                                     
 => [internal] load local bake definitions                                                                                                                                                                                                                            
 => => reading docker-bake.hcl 1.05kB / 1.05kB                                                                                                                                                                                                                        
ERROR: 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/>
f
You could try enabling the "WebAssembly" setting in the container engine preferences. It will install the Wasm shims, which you can just ignore, but it should also switch to using the containerd image store. Note that all your current images will become orphaned and need to be rebuilt or re-downloaded. You may want to run
docker system prune --all
before switching to reclaim the disk space they take.
b
thanks @fast-garage-66093