Install or Updgrade Docker for Ubuntu

  • Set up the repository
$ sudo apt-get install apt-transport-https \
                       ca-certificates
$ curl -s http://yum.dockerproject.org/gpg | sudo apt-key add
$ apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D
$ sudo add-apt-repository \
       "deb https://apt.dockerproject.org/repo/pool/ \
       $(lsb_release -cs) \
       main"

  • Install docker
$ sudo apt-get update
$ sudo apt-get -y install docker-engine
發佈了27 篇原創文章 · 獲贊 7 · 訪問量 9萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章