Docker Uninstall, update (Rad Hat Linux)

Source: Internet
Author: User

First Query Linux Kernel version command:

command: [Email protected] ~]# cat/proc/version

Operation Result:

Linux version 3.10.0-327.13.1.el7.x86_64 ([email protected]) (GCC version 4.8.3 20140911 (Red Hat 4.8.3-9) (gcc)) #1 SMP Th U Mar 16:04:38 UTC 2016

It can be understood that the environment used is: Rad Hat Linux, should be Use Yum Command

1) query Docker list

command: [Email protected] ~]# yumlist installed |grep Docker

Operation Result:

docker-engine.x86_64 1.11.1-1.el7.centos @docker-main-repo

Docker-engine-selinux.noarch 1.11.1-1.el7.centos @docker-main-repo

2) Uninstall

Command:

[Email protected] ~]# yum remove-y docker-engine.x86_64

[Email protected] ~]# yum remove-y docker-engine-selinux.noarch

3) Update the latest version online

curl–sslhttps://get.docker.com/| sh

4) start Docker

Servicedocker start

5) enable service at startup

Systemctl Enable Docker

6) Inspection Services

Systemctl Statusdocker

The test section is as follows:

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/83/DA/wKiom1d-A02yzFNrAAM4UvqP-lE907.png-wh_500x0-wm_3 -wmp_4-s_2964578590.png "title=" Wxid_8n6f1m6a6eug21_1467876651636_58.png "alt=" Wkiom1d-a02yzfnraam4uvqp-le907.png-wh_50 "/>

Docker Uninstall, update (Rad Hat Linux)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.