
これによれば:
https://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver
次のコマンドを使用して Docker をインストールできるはずです。
apt install docker.io
ただし、root の場合は次のようになります:
apt install docker.io
No command 'apt' found, did you mean:
Command 'aptd' from package 'aptdaemon' (main)