Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Steps for RedHat7.4 to install Docker

2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains the "steps to install Docker in RedHat7.4". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn the steps of installing Docker in RedHat7.4.

Operating system version:

Red Hat Enterprise Linux Server release 7.4 (Maipo)

Add Yum source:

Vi / etc/yum.repos.d/docker.repo

[dockerrepo]

Name=Docker Repository

Baseurl= http://yum.dockerproject.org/repo/main/centos/7/

Enabled=1

Gpgcheck=0

Installation:

Yum install docker-engine-y

Start the Docker service:

Systemctl start docker

Check that the installation is successful:

[root@ip-172-31-29-22 yum.repos.d] # docker version

Client:

Version: 17.05.0-ce

API version: 1.29

Go version: go1.7.5

Git commit: 89658be

Built: Thu May 4 22:06:25 2017

OS/Arch: linux/amd64

Server:

Version: 17.05.0-ce

API version: 1.29 (minimum version 1.12)

Go version: go1.7.5

Git commit: 89658be

Built: Thu May 4 22:06:25 2017

OS/Arch: linux/amd64

Experimental: false

View the overall status of the Docker container:

[root@ip-172-31-29-22 yum.repos.d] # docker info

Containers: 0

Running: 0

Paused: 0

Stopped: 0

Images: 0

Server Version: 17.05.0-ce

Storage Driver: overlay

Backing Filesystem: xfs

Supports d_type: true

Logging Driver: json-file

Cgroup Driver: cgroupfs

Plugins:

Volume: local

Network: bridge host macvlan null overlay

Swarm: inactive

Runtimes: runc

Default Runtime: runc

Init Binary: docker-init

Containerd version: 9048e5e50717ea4497b757314bad98ea3763c145

Runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228

Init version: 949e6fa

Security Options:

Seccomp

Profile: default

Kernel Version: 3.10.0-693.11.6.el7.x86_64

Operating System: Red Hat Enterprise Linux Server 7.4 (Maipo)

OSType: linux

Architecture: x86_64

CPUs: 1

Total Memory: 990.8MiB

Name: ip-172-31-29-22.ap-northeast-1.compute.internal

ID: 6C4S:W4VA:MSIK:TGZC:BHYU:3AHR:FJX7:44SO:467J:4ZNL:7T67:3GYK

Docker Root Dir: / var/lib/docker

Debug Mode (client): false

Debug Mode (server): false

Registry: https://index.docker.io/v1/

Experimental: false

Insecure Registries:

127.0.0.0/8

Live Restore Enabled: false

Set the boot to start automatically:

1. The default is not self-booting.

[root@ip-172-31-29-22 yum.repos.d] # systemctl is-enabled docker

Disabled

two。 Set up boot boot

Systemctl enable docker

Thank you for your reading, the above is the "RedHat7.4 installation of Docker steps" content, after the study of this article, I believe you have a deeper understanding of the steps of RedHat7.4 installation of Docker, the specific use of the need for you to practice and verify. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report