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

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).
主站蜘蛛池模板: 民权县| 金华市| 大庆市| 天峻县| 牙克石市| 绥德县| 霍州市| 分宜县| 什邡市| 古浪县| 阿勒泰市| 南木林县| 镇雄县| 乡城县| 石嘴山市| 泽州县| 巴里| 黎川县| 团风县| 桓台县| 繁昌县| 寿阳县| 鸡西市| 肃南| 鲁山县| 图们市| 奉节县| 芦溪县| 博乐市| 玉环县| 康马县| 尉氏县| 永昌县| 宜阳县| 海南省| 桦南县| 乐陵市| 习水县| 喀喇沁旗| 阿合奇县| 木里|