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

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
主站蜘蛛池模板: 陵水| 邯郸县| 阜南县| 静海县| 迭部县| 普安县| 施秉县| 启东市| 岳普湖县| 新宾| 庆阳市| 密山市| 舞钢市| 建昌县| 建平县| 宜良县| 招远市| 迁安市| 石阡县| 洪泽县| 奉节县| 盖州市| 长宁县| 宝鸡市| 浦江县| 施秉县| 叶城县| 华安县| 益阳市| 鲁甸县| 卢龙县| 治多县| 长治县| 巨鹿县| 虎林市| 仪征市| 洪洞县| 高阳县| 阳春市| 芜湖市| 广河县|