One of linux install jenkins: Installation docker

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/QQ934072160/article/details/102753181

A :: login server;
two: create a directory, install docker
remember, be sure to check the size of the standby directory: df -h, in order to avoid unnecessary trouble to produce;

Such as: mount directory, to ensure that there is enough space to making use;

1, uninstall umount / Data
2. Mount / dev / Mapper / datavg-lv01 / App

Three:
1: Create a private directory docker: mkdir -p / app / docker_v
first installed refer docker installation steps: HTTPS: //www.jianshu.com/p/aae6e28c8813
2: the install the sudo yum yum-utils Device -Y Data-persistent-LVM2 -mapper
. 3: the sudo yum-config-Manager---add https://download.docker.com/linux/centos/docker-ce.repo the repo
. 4: wget HTTPS: //download.docker. COM / Linux / CentOS /. 7 / the x86_64 / the stable / the Packages / Docker-CE-17.12.1.ce-1.el7.centos.x86_64.rpm
yum the install lrzsz -Y
. 5: Rz - E
. 5: the sudo yum the install docker- 17.12.1.ce-1.el7.centos.x86_64.rpm-CE
. 7: RM -rf Docker-CE-17.12.1.ce-1.el7.centos.x86_64.rpm
. 8: Start the sudo systemctl Docker

Guess you like

Origin blog.csdn.net/QQ934072160/article/details/102753181