docker-compose 安装 RocketMQ# docker-compose 安装 rocketmq 作者:gaga 原文链接:https://ld246.com/article/1607353262990 来源网站:链滴 许可协议:署名-相同方式共享4.0国际(CC BY-SA 4.0) ## 一、 拉取镜像 docker pull rocketmqinc/rocketmq ## 二、 设置网段 docker network firewall-cmd --zone=trusted --add-source=172.10.0.1/16 --permanent firewall-cmd --reload ## 三、 配置 docker-compose version: '3.8' services: rmqnamesrv: image: rocketmqinc/rocketmq container_name: namesrvAddr=172.10.0.14:9876 autoCreateTopicEnable=true autoCreateSubscriptionGroup=true ## 五、 启动 # 启动 docker-compose up -d #进入容器测试 docker exec -it rmqbroker bash // 生产消息 ./tools.sh org.apache.rocketmq.example0 码力 | 3 页 | 135.58 KB | 2 年前3
Harbor 环境搭建指导书– CentOS 7.6disabled(可选).....3 3.3 配置本地 yum 源(可选).....3 4 软件编译.....4 4.1 Docker-ce 安装.....4 4.2 Docker-compose 安装.....5 4.3 Harbor 安装.....5 4.4 制作 harbor-core-base 镜像(可选).....6 5 软件运行.....8 Tools”。Docker-ce 19.03.8 见4.1章节 支持版本最低为17.06.0-ce ## 3 系统配置 ### systemctl enable docker ----结束 ### 4.2 Docker-compose 安装 步骤 1 安装 EPEL 源。 # yum install -y epel-release 步骤 2 安装 docker-compose。 # yum install -y docker-compose -enablerepo=epel ----结束 ### 4.3 HarborDocker-compose 1.18.0 见4.2章节 支持版本最低为1.18.0 0 码力 | 12 页 | 873.78 KB | 1 年前3
Docker 从入门到实践 0.9.0(2017-12-31)启动终端后,通过命令可以检查安装后的 Docker 版本。 $ docker --version Docker version 17.10.0-ce, build f4ffd25 $ docker-compose --version docker-compose version 1.17.0-rc1, build a0f95af $ docker-machine --version docker-machine version ry volumes: registry-data: ## 修改 hosts 编辑 /etc/hosts docker.domain.com 127.0.0.1 启动 $ docker-compose up -d 这样我们就搭建好了一个具有权限认证、TLS 的私有仓库,接下来我们测试其功能是否正常。 ## 测试私有仓库功能 登录到私有仓库。 $ docker login docker 前两种方式是传统方式,适合本地环境下安装使用;最后一种方式则不破坏系统环境,更适合云计算场景。 Docker for Mac、Docker for Windows 自带 docker-compose 二进制文件,安装 Docker 之后可以直接使用。 $ docker-compose --version Linux 系统请使用以下介绍的方法安装。 ## 二 进制包 在 Linux 上的也安装十分简单,从官方 GitHub0 码力 | 370 页 | 6.73 MB | 2 年前3
使用Spring Cloud与Docker实战微服务Compose 3.8.1 Docker Compose的安装 3.8.2 Docker Compose入门示例 8.3 docker-compose.yml常用命令 8.4 docker-compose常用命令 8.5 使用Docker Compose部署项目 致谢 当前文档 《使用Spring Cloud与Docker实战微服务》由进击的皇虫 使用 书栈(BookStack js 环境,还可以将整个环境做成镜像,然后保存到任何地方。当然,由于 Docker 是一个容器,所以不用担心容器内执行的东西会对宿主机产生任何的影响。 现在新加入我们团队的人只需要运行 docker-compose up 命令,便可以喝杯咖啡,然后开始工作了。 Docker 可以节省开销 当然,时间就是金钱。除了时间外,Docker还可以节省在基础设施硬件上的开销。高德纳和麦肯锡的研究表明,数据中心的利用率在 com/compose/install/ 下载 docker-compose ,并放到 /usr/local/bin/ curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose-uname -s-uname -m > /usr/local/bin/docker-compose 为Docker Compose脚本添加执行权限0 码力 | 179 页 | 2.57 MB | 1 月前3
Docker 从入门到实践 0.4install -U docker-compose 安装成功后,可以查看 docker-compose 命令的用法。 $ docker-compose -h Fast, isolated development environments using Docker. Usage: docker-compose [options] [COMMAND] [ARGS...] docker-compose -h|--help https://github.com/docker/compose/releases/download/1.2.0/docker-compose- $ sudo chmod a+x /usr/local/bin/docker-compose ## 使用 术语 首先介绍几个术语。 服务(service):一个应用容器,实际上可以运行多个相同镜像的实例。 - 项目(project):由一组关联的应用容器组成的一个完整业务单元。 └── Dockerfile └── index.html └── index.py 在该目录下执行 docker-compose up 命令,会整合输出所有容器的输出。 $sudo docker-compose up Recreating composehaproxyweb_webb_1... Recreating composehaproxyweb_webc_10 码力 | 179 页 | 2.27 MB | 2 年前3
PaddleDTX 1.0.0 中文文档我们为您提供了能够快速拉起 PaddleDTX 测试网络的脚本,在使用前需要您准备如下环境: • docker, 推荐版本 18.03+ 点击下载安装 docker • docker-compose, 推荐版本 1.26.0+ 点击下载安装 docker-compose - 如果使用 Mac 启动服务,Docker Desktop 至少设置为 4GB 运行时内存,参考 Docker Desktop for Mac 用户手册 也支持使用 docker 进行编译、安装和使用,您需要准备如下环境: • docker, 推荐版本 18.03+ 点击下载安装 docker • docker-compose, 推荐版本 1.26.0+ 点击下载安装 docker-compose #### 5.2.2 制作镜像 1. 制作 XuperDB 镜像 $ cd PaddleDTX/xdb $ sh build_image.sh /blockchain/xchain/contract" #### 5.2.3 网络部署 ### 1. 部署区块链网络 $ cd PaddleDTX/testdata/blockchain $ docker-compose -f docker-compose.yml up -d 搭建了三个节点的区块链网络,对应的区块链相关配置在文件夹 blockchain/xchain1/conf、blockchain0 码力 | 57 页 | 624.94 KB | 2 年前3
The Weblate Manual 2.17https://github.com/WeblateOrg/docker.git weblate-docker cd weblate-docker 2. Start Weblate containers: docker-compose up ## See also: See Running Weblate in the Docker for more detailed instructions and customization database. ## Deployment Following examples assume you have working Docker environment, with docker-compose installed. Please check Docker documentation for instructions on this. 1. Clone weblate-docker password printed out on first startup. ### 3. Build Weblate containers: docker-compose build 4. Start Weblate containers: docker-compose up Enjoy your Weblate deployment, it’s accessible on port 80 of the0 码力 | 261 页 | 2.86 MB | 2 年前3
The Weblate Manual 2.17.1https://github.com/WeblateOrg/docker.git weblate-docker cd weblate-docker 2. Start Weblate containers: docker-compose up ## See also: See Running Weblate in the Docker for more detailed instructions and customization database. ## Deployment Following examples assume you have working Docker environment, with docker-compose installed. Please check Docker documentation for instructions on this. 1. Clone weblate-docker password printed out on first startup. ### 3. Build Weblate containers: docker-compose build 4. Start Weblate containers: docker-compose up Enjoy your Weblate deployment, it’s accessible on port 80 of the0 码力 | 263 页 | 2.85 MB | 2 年前3
The Weblate Manual 2.18com/WeblateOrg/docker.git weblate-docker cd weblate-docker ### 2. Start Weblate containers: docker-compose up ## See also: See Running Weblate in the Docker for more detailed instructions and customization database. ## Deployment The following examples assume you have a working Docker environment, with docker-compose installed. Please check Docker documentation for instructions on this. 1. Clone weblate-docker password printed out on first startup. ### 3. Build Weblate containers: docker-compose build 4. Start Weblate containers: docker-compose up Enjoy your Weblate deployment, it’s accessible on port 80 of the0 码力 | 269 页 | 2.89 MB | 2 年前3
The Weblate Manual 2.17.1https://github.com/WeblateOrg/docker.git weblate-docker cd weblate-docker 2. Start Weblate containers: docker-compose up ## See also See Running Weblate in the Docker for more detailed instructions and customization database. ## Deployment Following examples assume you have working Docker environment, with docker-compose installed. Please check Docker documentation for instructions on this. 1. Clone weblate-docker password printed out on first startup. 3. Build Weblate containers: docker-compose build 4. Start Weblate containers: docker-compose up Enjoy your Weblate deployment, it’s accessible on port 80 of the0 码力 | 325 页 | 1.38 MB | 2 年前3
共 585 条
- 1
- 2
- 3
- 4
- 5
- 6
- 59













