標準インストール

curl -fsSL https://get.docker.com | sh

Rootless モードでのインストール

curl -fsSL https://get.docker.com/rootless | sh