docker

docker 安装

yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum install docker-ce-18.06.1.ce-3.el7

vim /etc/docker/daemon.json
{
    "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]
}

systemctl restart docker

组件

通讯

docker network create ley
docker network ls

redis

docker pull redis:6.0.6

mysql

docker pull mysql:8.0.20

apollo

docker pull apolloconfig/apollo-configservice
docker pull apolloconfig/apollo-adminservice
docker pull apolloconfig/apollo-portal
上一篇:设计模式之组合模式


下一篇:git pull 冲突