暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
step by step系列之- install docker版本opengauss1.0.1主备机群.pdf
692
8页
2次
2020-12-31
5墨值下载
step by step 之:
install docker 版本 opengauss1.0.1 主备机群
参考文档:https://www.modb.pro/db/34668
实验环境说明OS2 8 核心 8GB 内存。
1、流程:
先安装 docker 软件,下载 Docker 镜像,在创建启动主备容器数据库,进入数据库,进行主
备切换试验。
2、安装 docker 软件
[root@node1 ~]#
yum -y install docker
#检查 docker 的版本:
docker -v
Docker version 1.13.1, build 64e9980/1.13.1
2
、启动
docker
服务
#
查看
docker
是否启动:
systemctl status docker
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Docs: http://docs.docker.com
[root@node1 ~]#
#
启动
Docker
systemctl start docker
#
检查启动是否正常:
[root@node1 ~]# systemctl status docker
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2020-10-15 09:01:06 CST; 5s ago
Docs: http://docs.docker.com
Main PID: 11215 (dockerd-current)
Tasks: 30
CGroup: /system.slice/docker.service
├─11215 /usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/do...
└─11225 /usr/bin/docker-containerd-current -l unix:///var/run/docker/libco...
Oct 15 09:01:05 node1.localdomain dockerd-current[11215]: time="2020-10-15T09:01:05.0...
Oct 15 09:01:06 node1.localdomain dockerd-current[11215]: time="2020-10-15T09:01:06.0...
Oct 15 09:01:06 node1.localdomain dockerd-current[11215]: time="2020-10-15T09:01:06.1...
Oct 15 09:01:06 node1.localdomain dockerd-current[11215]: time="2020-10-15T09:01:06.1...
Oct 15 09:01:06 node1.localdomain dockerd-current[11215]: time="2020-10-15T09:01:06.1...
Oct 15 09:01:06 node1.localdomain dockerd-current[11215]: time="2020-10-15T09:01:06.2...
Oct 15 09:01:06 node1.localdomain dockerd-current[11215]: time="2020-10-15T09:01:06.2...
Oct 15 09:01:06 node1.localdomain dockerd-current[11215]: time="2020-10-15T09:01:06.2...
Oct 15 09:01:06 node1.localdomain dockerd-current[11215]: time="2020-10-15T09:01:06.2...
Oct 15 09:01:06 node1.localdomain systemd[1]: Started Docker Application Container ...e.
Hint: Some lines were ellipsized, use -l to show in full.
[root@node1 ~]#
docker 进行简单设置
systemctl enable docker #开机启动 docker
systemctl status docker #查看 docker 状态
of 8
5墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜