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

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).
主站蜘蛛池模板: 天峻县| 连城县| 玉树县| 汝南县| 徐水县| 叶城县| 华安县| 贵南县| 庆安县| 东乡县| 若尔盖县| 蒙山县| 手机| 虎林市| 谷城县| 金塔县| 嘉义县| 娱乐| 虞城县| 东乌| 文水县| 五大连池市| 来宾市| 阳山县| 孙吴县| 明溪县| 宜丰县| 颍上县| 杭锦旗| 宁晋县| 前郭尔| 曲靖市| 来凤县| 光泽县| 唐山市| 龙里县| 云安县| 五台县| 秦安县| 镶黄旗| 衡山县|