For Linux, see in linux-utils/apps/docker/install.sh
curl https://raw.githubusercontent.com/davidkhala/linux-utils/main/apps/docker/install.sh | bash -s install