![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
docker
天津赫本
高端大气上档次!
展开
-
docker快速安装nacos-CentOS7
一、单例部署1.下载镜像docker pull nacos/nacos-server:1.4.02.创建/usr/local/docker/nacos/docker-compose.yml文件version: '3.1'services: nacos: image: 'nacos/nacos-server:1.4.0' restart: always container_name: nacos volumes: -./conf/ap...原创 2021-02-23 15:17:31 · 327 阅读 · 0 评论 -
docker快速安装rabbitMQ-CentOS7
一、单例部署1.下载镜像docker pull rabbitmq:3.7.28-management-alpine2.创建/usr/local/docker/rabbitmq/docker-compose.yml文件version: '3.1'services: rabbitmq: image: 'rabbitmq:3.7.28-management-alpine' restart: always container_name: rabbitmq ...原创 2021-02-22 09:40:45 · 73 阅读 · 0 评论 -
docker快速安装mysql-CentOS7
一、单例部署1.下载镜像docker pull mysql:5.72.创建/usr/local/docker/mysql/docker-compose.yml文件version: '3.1'services: mysql: image: 'mysql:5.7' restart: always container_name: mysql ports: - 3306:3306 volumes: - ./conf/co...原创 2021-02-20 10:56:10 · 130 阅读 · 0 评论 -
docker快速安装redis-CentOS7
1.下载镜像docker pull redis:5.0.8-buster2.创建/usr/local/docker/nginx/docker-compose.yml文件version: '3.1'services: redis: image: 'redis:5.0.8-buster' restart: always container_name:...原创 2020-03-28 19:51:44 · 258 阅读 · 0 评论 -
docker快速安装nginx-CentOS7
1.下载镜像docker pull nginx:1.17.92.创建/usr/local/docker/nginx/docker-compose.yml文件version: '3.1'services: nginx: image: 'nginx:1.17.9' restart: always container_name: nginx p...原创 2020-03-27 13:52:13 · 167 阅读 · 0 评论 -
docker快速安装Jenkins-CentOS7
Github持续集成原创 2020-03-22 01:30:51 · 377 阅读 · 0 评论 -
docker常用命令
以交互式操作启动镜像docker run -it 镜像名 bash批量删除停止运行的容器docker container prune原创 2020-02-26 10:31:17 · 237 阅读 · 1 评论 -
docker快速安装registry-CentOS7
1.下载镜像docker pull registry:2.6.2docker pull konradkleine/docker-registry-frontend:v22.创建/usr/local/docker/registry/docker-compose.yml文件version: '3.1'services: registry: image: 'reg...原创 2020-02-19 22:50:24 · 171 阅读 · 0 评论 -
docker快速安装nexus-CentOS7
1.下载镜像docker pull sonatype/nexus32.创建/usr/local/docker/nexus/docker-compose.yml文件version: '3.1'services: nexus: image: 'sonatype/nexus3' restart: always container_name: nexus...原创 2020-02-18 18:08:13 · 363 阅读 · 0 评论 -
docker快速安装gitlab-CentOS7
docker pull twang2218/gitlab-ce-zhversion: '3'services: web: image: 'twang2218/gitlab-ce-zh' restart: always hostname: '192.168.1.8' environment: TZ: 'Asia/Sh...原创 2020-02-18 10:09:21 · 272 阅读 · 0 评论 -
docker脚本快速安装-CentOS7
1.安装依赖包yum install -y yum-utils device-mapper-persistent-data lvm22.脚本快速安装curl -fsSL get.docker.com -o get-docker.shsh get-docker.sh --mirror Aliyun3.查看docker信息docker version4.启动d...原创 2020-02-15 11:26:01 · 103 阅读 · 0 评论 -
yum源变更、docker源变更-CentOS7
一、yum源变更1.备份当前yum源cd /etc/yum.repos.d/cp CentOS-Base.repo CentOS-Base-repo.bak2.使用wget下载阿里yum源repo文件wget http://mirrors.aliyun.com/repo/Centos-7.repo3.把下载下来阿里云repo文件设置成为默认源mv Cent...原创 2020-02-12 15:27:21 · 1021 阅读 · 1 评论