Navigate to Applications in Finder and drag "Docker" to the trash can
mv ~/.docker/config.json ~/.docker/old-config.json
brew install lima
brew install docker docker-compose docker-credential-helper
limactl start --name=docker template://docker
The output from the previous command will provide instructions to add lima as the docker context (may be different than what is below)
docker context create lima --docker "host=unix:///Users/{YOURUSERNAME}/.lima/docker/sock/docker.sock"
docker context use lima
docker run hello-world
limactl start docker
limctl stop docker
limactl edit docker
cpus: 8
memory: 8GiB
limactl start docker