***追記
下記の手順でインストールはできたが、
実行時に下記のエラーが発生して、
実行できなかった。
docker: Error response from daemon: unable to find "net_prio" in controller set: unknown.
docker側の対応待ちのよう
まずは、下記のサイト通り、
下記のコマンドを実行。
curl -sSL https://get.docker.com | sh
エラーメッセージが表示されて、
インストールできなかった。
・エラーメッセージ
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
下記のコマンドを実行したらいいとあったので、
実行する。
sudo apt-get update --allow-releaseinfo-change
やっぱりエラーが出力される。
・エラーメッセージ
E: リポジトリ https://download.docker.com/linux/raspbian 10 Release には Release ファイルがありません。
https://www.nekochango.com/entry/linux/trouble/apt-get_bionic_release_nothing
とりあえず、
dockerのインストールコマンドを実行してみる。
sudo apt-get install -y docker.io
正常にインストールされた。
sudo docker --version