Docker 系列教程:在Ubuntu 上安裝Docker 分步圖文指南
Docker 系列教程:在Ubuntu 上安裝Docker 分步圖文指南
資料來源:https://mp.weixin.qq.com/s/u9aMG9PwHQV46tJGwMdimA
重點摘要:
$ sudo apt update $ sudo apt install apt-transport-https ca-certificates curl gnupg software-properties-common $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" $ sudo apt update $ sudo apt install docker-ce docker-ce-cli containerd.io $ systemctl is-active docker