-
# docker-compose 安装 rocketmq
作者:gaga
原文链接:https://ld246.com/article/1607353262990
来源网站:链滴
许可协议:署名-相同方式共享4.0国际(CC BY-SA 4.0)
## 一、 拉取镜像
docker pull rocketmqinc/rocketmq
## 二、 设置网段
docker network --reload
## 三、 配置 docker-compose
version: '3.8'
services:
rmqnamesrv:
image: rocketmqinc/rocketmq
container_name: rmqnamesrv
ports:
- 9876:9876
volumes:
- /data/docker/logs/rocketmq:/root/logs root/logs
- /data/docker/rocketmq/store:/root/store
command: ./mqnamesrv
networks:
default:
ipv4_address: 172.10.0.14
rmqbroker:
image: rocketmqinc/rocketmq
container_name: rmqbroker
ports:
0 码力 |
3 页 |
135.58 KB
| 2 年前 3
-
upstart-dbus-session-bridge start/running, process 2477
unity7 stop/waiting
## V irtualization & Docker
Wang Xiaodong
## V irtualization
In computing, virtualization refers to the act of creating a virtual Since then, the meaning of the term has broadened.
## Related Products
Vmware
■ Virtualbox
## Docker
Docker is an open platform for building, shipping and running distributed applications. It gives programmers b481/p40_2.jpg)
## Docker
简单的说Docker是一个构建在LXC之上的,基于进程容器(Process Container)的轻量级VM解决方案。

## Docker

图片来源于
# 如果遇到权限文图
sudo chown -R $(whoami) /usr/local/lib/pkgconfig
## VM 驱动程序 VirtualBox
brew install docker-machine-driver-hyperkit
~/.kube/config 文件中查看所有可用的环境
## 启动
# 可添加参数
minikube dashboard
## Minikube uments/b/9/e/c/b9eceaac3062ac2bf692543c337f0b2b/p2_1.jpg)
Pods
## Docker Desktop Dashboard (MasOC)
minikube start 回启动一个 Docker 容器:
Containers / Apps
Images
74.21%
1.2 GB
CPU USAGE
MEMORY USAGE
0 码力 |
5 页 |
675.91 KB
| 2 年前 3
-
## DOCKER 从入门到实践
om/static/7994cfce33b4e065.svg

Index
01 | Why Docker?
02 | Docker 基础
03 | Dockerfile
04 | Docker Docker compose
05 | Docker 相关
## Why Docker?

 AGRANT
带来的问题
1. 系统镜像特别大
2. 打包无法自动化
3. 启动及资源占用
## docker
优点
1. 体积小巧
2. 启动快速资源占用低
3. 沙箱机制环境隔离
3. 打包运行 CLI 自动化
4. Docker Hub
### V M VS. DOCKER

yeasy@github
## 目录
前言 1.1
修订记录 1.2
如何贡献 1.3
Docker 简介 1.4
什么是 Docker 1.4.1
为什么要用 为什么要用 Docker 1.4.2
基本概念 1.5
镜像 1.5.1
容器 1.5.2
仓库 1.5.3
安装 Docker 1.6
Ubuntu 1.6.1
Debian 1.6.2
CentOS 1.6.3
Raspberry Pi 1.6.4
macOS 1.6.5
Windows PC 1.6.6
镜像加速器 8.1
守护态运行 1.8.2
终止 1.8.3
进入容器 1.8.4
导出和导入 1.8.5
删除 1.8.6
访问仓库 1.9
Docker Hub 1.9.1
私有仓库 1.9.2
私有仓库高级配置 1.9.3
数据管理 1.10
数据卷 1.10.1
监听主机目录 1.10.2
0 码力 |
370 页 |
6.73 MB
| 2 年前 3
-
Travis settings
It is generated by github
https://docs.travis-ci.com/user/deployment/pages/
¿Qué es Docker?
Plataforma para desarrolladores y administradores de sistemas Basada en contenedores Flexible, ligero cambia
¿Qué es un contenedor?
Es una instancia viva de una imagen
Docker se basa en contenedores para envolver las aplicaciones
Docker permite la orquestación entre contenedores
Enlazando varios contenedores com/questions/16047306/how-is-docker-different-from-a virtual-machine
Instalando Docker
https://www.docker.com/
Docker desktop (Windows pro/Mac) Docker toolbox (Windows Home)
NOTA: Para docker toolbox, anotar dirección
0 码力 |
28 页 |
902.83 KB
| 1 月前 3
-
## Centos7 安装 docker
## ①yum 安装
centos7 自带的 yum 源没有 docker 软件,要指定其他的源,比如阿里的源或 docker 官方的 # cd /etc/yum.repos.d/
# wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo //阿里的源
或:https://download 或:https://download.docker.com/linux/centos/docker-ce.repo //官方的源
然后在/etc/yum.repos.d/目录下多了一个名为 docker-ce.repo 的文件
如果下载不了,可以在此目录下自己创建一个 docker-ce.repo 文件,内容如下:
name=Docker CE Stable - $basearch
enabled=1 aliyun.com/docker-ce/linux/centos/gpg
# yum search docker
# yum install docker
安装后,默认是未启动的

# systemctl enable docker
# systemctl
0 码力 |
2 页 |
179.61 KB
| 2 年前 3
-
# 使用 Docker 建立 Mysql 集群
## 软件环境介绍
操作系统:Ubuntu server 64bit 14.04.1
Docker 版本 1.6.2
数据库:Mariadb 10.10 (Mariadb 是 MySQL 之父在 MySQL 被 Oracle 收购之后创建的分支,性能上优于 MySQL 开源版本)
## 第一步 安装 Docker
对于 Ubuntu,建议直接联网安装 Ubuntu,建议直接联网安装 Docker 最新版本,apt-get 中版本较老。
首先获取安装脚本:
wget https://get.docker.com
下下来的虽然名字是 index.html,但其实是脚本文件,所以我们
chmod +x index.html
这样我们就可以执行这个文件:
sudo ./index.html
安装完成后根据提示,可以将当前用户加到 docker 用户组里,这样就不用每次执行 用户组里,这样就不用每次执行 docker 都需要 sudo 了。
sudo usermod -aG docker <你的用户名>
对于 Centos6, 首先要把企业常用软件包的软件源安装上
yum install epel-release
然后再
yum install docker-io
## 第二步 运行 Mariadb 容器
首先要将数据镜像拉下来
docker pull mariadb:latest
0 码力 |
3 页 |
103.32 KB
| 2 年前 3
-
Continuous Integration and Deployment with Docker and Rancher
Usman Ismail · Bilal Sheikh · January 2016
’ alt=‘OCR图片’/>
Contents
Introduction…2
Part 1: Continuous Integration…3
1.1 Challenges of Scaling Practices…4
1.3 Leveraging Docker for Build systems…5
2.3.1 Containerizing your build environment...6
2.3.2 Packaging your application with Docker...8
2.3.3 Using Docker Compose for build environments. Creating an Integration environment in Rancher...22
2.1.2 Defining Compose templates...23
2.1.3 Creating an application stack with Rancher Compose...25
2.1.4 Managing DNS records...27
2.1.5 Enabling HTTPS
0 码力 |
47 页 |
1.96 MB
| 1 月前 3
-
SELinux 为 disabled(可选).....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.1 启动 Harbor.....8
6 FAQ.....9
7 其他.....10
## 1 软件介绍
Harbor 是构建企业级私有
docker 镜像的仓库的开源解决方案,是
Docker Registry 的更高级封装。除了提供友好的 Web UI 界面,角色和用户权限管理,用户操作审计等功能外,还整合了 K8s 的插件(Add-ons)仓库,即 Helm with GUI”,并附加了“Development Tools”。
| Docker-ce | 19.03.8 | 见4.1章节 | 支持版本最低为17.06.0-ce |
| Docker-compose | 1.18.0 | 见4.2章节 | 支持版本最低为1.18. 0 码力 |
12 页 |
873.78 KB
| 2 年前 3
|