📜  安装 docker - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:03.802000             🧑  作者: Mango

代码示例6
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt-get update && apt-get install docker-ce -y