Solution to the error when installing Docker on CentOS version

Solution to the error when installing Docker on CentOS version

1. Version Information

  # cat /etc/system-release
  CentOS Linux release 7.2.1511 (Core) 
  # uname -a
  Linux k8s-daniel-3 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

2. Docker installation and errors

Use yum -y install docker to install directly, and then fail to start.

3. Error message

Error message: systemctl status docker.service

Error message: journalctl -xe

4. Solution: Upgrade CentOS

yum -y update

5. Check again

  # cat /etc/system-release
  CentOS Linux release 7.6.1810 (Core) 
  # uname -a
  Linux k8s-daniel-3 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux 

6. Reboot

It is very important to reboot, otherwise Docker will not start.

7. Verification, problem solving

Summarize

The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links

You may also be interested in:
  • How to install WSL2 Ubuntu20.04 on Windows 10 and set up the docker environment
  • Tutorial on installing Docker in Windows 10 subsystem Ubuntu (WSL) (with pictures and text)
  • Solve the problem of running hello-world after docker installation
  • Problems and solutions for installing Docker on Alibaba Cloud
  • Solutions to Docker installation and error reporting issues under Windows 7
  • Ubuntu vps installs docker and reports an error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Problem solved
  • Installing Docker Desktop reports an error message: WSL 2 installation is incomplete (Solve the error message)

<<:  Instructions for using JSON operation functions in Mysql5.7

>>:  How does Vue track data changes?

Recommend

What is ssh port forwarding? What's the use?

Table of contents Preface 1. Local port forwardin...

Example of setting up a whitelist in Nginx using the geo module

Original configuration: http { ...... limit_conn_...

Explanation and example usage of 4 custom instructions in Vue

Four practical vue custom instructions 1. v-drag ...

Detailed tutorial on installing MariaDB on CentOS 8

MariaDB database management system is a branch of...

Tips for using the docker inspect command

Description and Introduction Docker inspect is a ...

Implementation of automatic completion of Docker commands

Preface I don't know how long this friend has...

Details of various font formats in HTML web pages

This section starts with the details of text modi...

Mysql splits string into array through stored procedure

To split a string into an array, you need to use ...

Simple implementation method of vue3 source code analysis

Table of contents Preface 🍹Preparation 🍲vue3 usag...

Solution to the problem that the InnoDB engine is disabled when MySQL is started

Find the problem Today at work, when copying tabl...

Detailed explanation of how to view MySQL memory usage

Preface This article mainly introduces the releva...

Docker installation and configuration command code examples

Docker installation Install dependency packages s...

Some tips on deep optimization to improve website access speed

Some tips for deep optimization to improve websit...