官术网_书友最值得收藏!

Installing Docker for Ubuntu

Docker requires a 64-bit version of Bionic 18.04 LTS, Artful 17.10, Xenial 16.04 LTS, or Trusty 14.04 LTS. You can install Docker with apt-get install docker.io, but its updates are usually slower than the Docker official repository.

Here are the installation steps from Docker (https://docs.docker.com/install/linux/docker-ce/ubuntu/):

  1. Make sure you have the packages to allow apt repositories; if not, you can get them with the following command:
$ sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
  1. Add Docker's gpg key and verify whether its fingerprint matches 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88:
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo apt-key fingerprint 0EBFCD88 
  1. Set up the repository of the amd64 arch:
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" 
  1. Update the package index and install Docker CE:
 $ sudo apt-get update && sudo apt-get install docker-ce
主站蜘蛛池模板: 迁安市| 弥渡县| 商水县| 汾西县| 肇源县| 沁源县| 屯昌县| 繁峙县| 新乡市| 疏勒县| 锡林浩特市| 中西区| 凌源市| 上虞市| 宝应县| 台安县| 定州市| 乌鲁木齐县| 平南县| 台州市| 渝中区| 邓州市| 肇东市| 沙湾县| 武隆县| 昌江| 鄢陵县| 灵丘县| 天柱县| 正定县| 馆陶县| 信宜市| 娱乐| 泉州市| 洪泽县| 江门市| 淮滨县| 邹平县| 奉节县| 三门峡市| 武汉市|