- Learning Neo4j 3.x(Second Edition)
- Jér?me Baton Rik Van Bruggen
- 183字
- 2021-07-08 09:37:43
Installing Docker
Nothing comes without a little effort, so you need to install docker-ce, if you have not done so already.
Let's not mistaken the different Docker packages. There is a system tray for Gnome named docker; the Docker we need used to be packaged as docker.io. It is now packaged under the name docker-ce ( community edition).
First, we need to check whether the three prerequisite packages are installed. To check, perform the following:
sudo apt-get -y install apt-transport-https ca-certificates curl
Then, add the docker.com keys to our local keyset:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Add the Docker repository to our system (Ubuntu users, I assume you use a 64-bit CPU):
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
If you use Linux Mint, the lsb_release -cs command will not return Docker-supported Ubuntu version names (such as xenial or trusty), but Mint version names such as serena or sarah. Therefore, Linux Mint users should find their equivalent Ubuntu version through https://fr.wikipedia.org/wiki/Linux_Mint#.C3.89ditions_standards and https://wiki.ubuntu.com/Releases and replace $(lsb_release -cs) in the previous command with the result they found (like xenial instead of serena).
推薦閱讀
- C語言程序設計基礎與實驗指導
- Android Application Development Cookbook(Second Edition)
- Implementing Cisco Networking Solutions
- Reactive Programming With Java 9
- Easy Web Development with WaveMaker
- Troubleshooting PostgreSQL
- Rust Essentials(Second Edition)
- LabVIEW虛擬儀器入門與測控應用100例
- Photoshop智能手機APP界面設計
- 軟件測試分析與實踐
- Python全棧開發:基礎入門
- Visual C++程序設計與項目實踐
- PHP項目開發全程實錄(第4版)
- Python無監督學習
- RESTful Web API Design with Node.js(Second Edition)