Обновляемся apt update && apt upgrade Ставим docker sudo apt-get install apt-transport-https ca-certificates curl gnupg2