ubuntu 服務器 安裝 docker

阿里雲

    6  sudo apt-get install     apt-transport-https     ca-certificates     curl     gnupg-agent     software-properties-common
    7  sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    8  apt-key fingerprint 0EBFCD88
    9  add-apt-repository    "deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
   10  apt-get update
   11  apt-get install docker-ce docker-ce-cli containerd.io
   12  docker ps -a
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章