A mounting 7 Centos on
official documents: HTTPS: //docs.docker.com/install/linux/docker-ce/centos/
1. installation environment
yum the install -Y-yum-utils Device Mapper Data LVM2-persistent-
2. provided the source
yum-config-Manager \
--add-the repo \
https://download.docker.com/linux/centos/docker-ce.repo
3. closing edge version
yum-config-manager --enable docker- ce- Nightly
yum-config-Manager --enable Docker-CE-Test
4. mounting body
yum the install Docker Docker-CE-CE-CLI containerd.io
5. The open service
systemctl Start Docker
6. The verify correct installation
docker run hello-world
Installation gitlab under docker
https://www.jianshu.com/p/080a962c35b6