- DevOps with Kubernetes
- Hideto Saito Hui Chuan Chloe Lee Cheng Yang Wu
- 151字
- 2021-07-02 13:41:47
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/):
- 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
- 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
- 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"
- Update the package index and install Docker CE:
$ sudo apt-get update && sudo apt-get install docker-ce
推薦閱讀
- 程序員面試筆試寶典(第3版)
- Learning Selenium Testing Tools with Python
- Flink SQL與DataStream入門、進階與實戰
- 軟件測試項目實戰之性能測試篇
- 實戰Java程序設計
- Python計算機視覺編程
- 利用Python進行數據分析(原書第3版)
- MATLAB 2020從入門到精通
- C語言從入門到精通
- MySQL 8從零開始學(視頻教學版)
- INSTANT LESS CSS Preprocessor How-to
- 讓Python遇上Office:從編程入門到自動化辦公實踐
- Mastering Unity Scripting
- PHP程序設計經典300例
- 微信小程序開發圖解案例教程:附精講視頻(第3版)