To run dockerd as the current user, execute the following commands:
brew install rootlesskit slirp4netns
dockerd-rootless-setuptool.sh install
NOTE: As the lifecycle of containerd is managed by dockerd,
do NOT run `containerd-rootless-setuptool.sh install`
before `dockerd-rootless-setuptool.sh install`.
To run dockerd as the root user, use `brew services` with `sudo --preserve-env=HOME`.