码迷,mamicode.com
首页 > 其他好文 > 详细

Get Docker CE for CentOS

时间:2018-04-28 21:04:20      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:enable   ima   class   different   ota   with as   关系   disable   tar   

//https://docs.docker.com/install/linux/docker-ce/centos/

To get started with Docker CE on CentOS, make sure you meet the prerequisites, then install Docker.

// meet  vt. 满足;遇见;对付      prerequisite  n.先决条件

Prerequisites

OS requirements

To install Docker CE, you need a maintained version of CentOS 7. Archived versions aren’t supported or tested.

The centos-extras repository must be enabled. This repository is enabled by default, but if you have disabled it, you need to re-enable it.

The overlay2 storage driver is recommended.

Uninstall old versions

Older versions of Docker were called docker or docker-engine. If these are installed, uninstall them, along with associated dependencies.

$ sudo yum remove docker                   docker-client                   docker-client-latest                   docker-common                   docker-latest                   docker-latest-logrotate                   docker-logrotate                   docker-selinux                   docker-engine-selinux                   docker-engine

It’s OK if yum reports that none of these packages are installed.  //如果yum 报告这些包都没有安装,那也没关系

The contents of /var/lib/docker/, including images, containers, volumes, and networks, are preserved. The Docker CE package is now called docker-ce.

   //preserved  [pr?‘z??vd] adj. 保藏的;

 

Install Docker CE

 

You can install Docker CE in different ways, depending on your needs:

 

  • Most users set up Docker’s repositories and install from them, for ease of installation and upgrade tasks. This is the recommended approach.

  • Some users download the RPM package and install it manually and manage upgrades completely manually. This is useful in situations such as installing Docker on air-gapped systems with no access to the internet.  //气隙系统(Air-gapped)是一种将电脑进行完全隔离(不与互联网以及任何其他联网设备连接)以保护数据安全的系统

  • In testing and development environments, some users choose to use automated convenience scripts to install Docker.

 

Get Docker CE for CentOS

标签:enable   ima   class   different   ota   with as   关系   disable   tar   

原文地址:https://www.cnblogs.com/hzhuxin/p/8969326.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!