码迷,mamicode.com
首页 > 其他好文 > 详细

docker

时间:2021-06-02 15:18:47      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:mapper   tar   yun   gis   shel   ash   conf   reg   inux   

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

# 拷贝
docker cp d:\a.txt  mysql8:/tmp

组件


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


https://github.com/apolloconfig/apollo-build-scripts/tree/master/sql
 - apolloconfigdb.sql
 - apolloportaldb.sql

docker exec -it mysql /bin/bash
# mysql -uroot -p123456 < apollo/scripts/sql/apolloportaldb.sql
# mysql -uroot -p123456 < apollo/scripts/sql/apolloconfigdb.sql

clickhouse
docker pull yandex/clickhouse-server
docker pull yandex/clickhouse-clinet

docker

标签:mapper   tar   yun   gis   shel   ash   conf   reg   inux   

原文地址:https://www.cnblogs.com/abc608088/p/14824413.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!