Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ To install Docker under CentOS7     - Java to achieve local fileCopy (Programming)

- No password on Oracle and MySQL login (Database)

- Qt shared memory interprocess communication (Programming)

- SQL Server automatic backup script (Database)

- Ubuntu 14.04 compile RT288x_SDK / toolchain / squashfs3.2-r2 Error (Linux)

- systemd-nspawn Quick Guide (Linux)

- HomeKit User Interface Guidelines (Linux)

- How to install Ubuntu California - the calendar application (Linux)

- The best known for archiving / compression tool under linux (Linux)

- Use HugePages optimize memory performance (Database)

- Lazarus IDE Start Basics Tutorial (Linux)

- Nginx DHCP TFTP Kickstart set up automatic installation system (Server)

- Linux System Getting Started Learning: Using yum to download the RPM package without installing (Linux)

- Linux Getting Started tutorial: Ubuntu 14.04 in the installation Sogou Pinyin (Linux)

- To share Linux script automatically change passwords (Linux)

- How to become a better Node.js developers in 2016 (Programming)

- CentOS yum source as the default setting methods in DVD (Linux)

- extundelete: the Linux-based open source data recovery tools (Linux)

- open V switch port mirror in OpenStack neutron (Server)

- After installation of Debian 6.0 do a few things first (Linux)

 
         
  To install Docker under CentOS7
     
  Add Date : 2018-11-21      
         
       
         
  Docker installed in CentOS 7 of

First, check the prerequisite

1. Kernel

Check whether the version of the kernel installed version 3.8 or higher

[Root @ localhost ~] # uname -a
Linux localhost.localdomain 3.10.0-123.13.2.el7.x86_64 # 1 SMP Thu Dec 18 14:09:13 UTC 2014 x86_64 x86_64 x86_64 GNU / Linux

 2. Check Device Mapper

[Root @ localhost ~] # ls -l / sys / class / misc / device-mapper /
The total amount of 0
-r - r -. r-- 1 root root 4096 12 Yue 28 17:18 dev
drwxr-xr-x. 2 root root 0 12 Yue 28 17:14 power
lrwxrwxrwx 1 root root 0 12 Yue 28 17:18 subsystem -.> ../../../../class/misc
-rw-r - r-- 1 root root 4096 12 Yue 28 17:13 uevent.

Or / proc / device file to check for device-mapper entry

[Root @ localhost ~] # grep device-mapper / proc / devices
253 device-mapper

Second, the installation Docker

[Root @ localhost ~] # yum -y install docker

It is loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * Base: mirrors.btte.net
 * Epel: ftp.sjtu.edu.cn
 * Extras: mirrors.btte.net
 * Updates: mirrors.neusoft.edu.cn
Dependencies are resolved
-> Checking for affairs
---> Packages will be installed docker.x86_64.0.1.3.2-4.el7.centos
-> Complete resolve dependencies

Resolve dependencies

================================================== =========================================
 Package size version of the source architecture
================================================== =========================================
Installing:
 docker x86_64 1.3.2-4.el7.centos extras 5.6 M

Transaction Summary
================================================== =========================================
1 installation package

Total downloads: 5.6 M
Installed Size: 24 M
Downloading packages:
docker-1.3.2-4.el7.centos.x86_64.rpm | 5.6 MB 00:00:04
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing: docker-1.3.2-4.el7.centos.x86_64 1/1
  Verification: docker-1.3.2-4.el7.centos.x86_64 1/1

Installed:
  docker.x86_64 0: 1.3.2-4.el7.centos

complete!

Third, the process starts Docker

[Root @ localhost ~] # systemctl start docker

If you want to start Docker service automatically at boot time, run the following command

[Root @ localhost ~] # systemctl enable docker
ln -s '/usr/lib/systemd/system/docker.service' '/etc/systemd/system/multi-user.target.wants/docker.service'

View Docker is running

[Root @ localhost ~] # docker info
Containers: 0
Images: 0
Storage Driver: devicemapper
 Pool Name: docker-253: 1-614613-pool
 Pool Blocksize: 65.54 kB
 Data file: / var / lib / docker / devicemapper / devicemapper / data
 Metadata file: / var / lib / docker / devicemapper / devicemapper / metadata
 Data Space Used: 307.2 MB
 Data Space Total: 107.4 GB
 Metadata Space Used: 725 kB
 Metadata Space Total: 2.147 GB
 Library Version: 1.02.84-RHEL7 (2014-03-26)
Execution Driver: native-0.2
Kernel Version: 3.10.0-123.13.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
     
         
       
         
  More:      
 
- Hibernate learning introductory tutorial (Programming)
- Unix / Linux commonly used to clean up disk space command (Linux)
- How to build Mono 3.4.0 / 3.4.1 on Windows (Linux)
- C # how to generate a folder or file automatically rename (Programming)
- RHEL 6.4 installed MySQL 5.6.27 (Database)
- File sharing and fork function (Programming)
- Android will save the picture to see the album and timely (Programming)
- configuration ssh without password under Linux (Linux)
- Ubuntu prevent arp attacks (Linux)
- Squid proxy server configuration under Linux (Server)
- Installation Yarock 1.1.4 Music Player in Ubuntu (Linux)
- Install OpenGL development environment in Fedora and Ubuntu (Linux)
- Comparison of sorting algorithms (Programming)
- How to experience Unity 8 Mir on Ubuntu 16.04 (Linux)
- JavaScript, some conclusions about the implicit conversion (Programming)
- A drop datafile Oracle bug (Database)
- Django url () function Detailed (Programming)
- Virtual Judge structures under Ubuntu 14.04 (Server)
- Denyhosts prevent hackers using SSH scanning (Linux)
- Linux administrator should command: sed and awk (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.