首页 > 系统相关 >consul Linux Docker 安装

consul Linux Docker 安装

时间:2023-02-13 16:45:08浏览次数:30  
标签:Consul consul hashicorp tcp image Linux docker Docker

[root@machine136 nacos]# docker search consul
NAME                                         DESCRIPTION                                      STARS     OFFICIAL   AUTOMATED
consul                                       Consul is a datacenter runtime that provides…   1372      [OK]       
hashicorp/consul-template                    Consul Template is a template renderer, noti…   28                   
hashicorp/consul                             Automatic build of consul based on the curre…   35                   [OK]
hashicorp/consul-k8s                         First-class integrations between Consul and …   9                    [OK]
bitnami/consul                               Bitnami Docker Image for Consul                  8                    [OK]
hashicorp/consul-enterprise                  Consul is a datacenter runtime that provides…   4                    
hashicorp/consul-k8s-control-plane           First-class integrations between Consul and …   1                    
hashicorp/consul-ecs                         This image is used to help with the installa…   1                    
hashicorp/consul-dataplane                   Consul dataplane connects an application to …   0                    
hashicorp/consul-replicate                                                                    1                    
hashicorp/consul-esm                                                                          0                    
bitnami/consul-exporter                                                                       0                    
hashicorp/consul-api-gateway                 Official Hashicorp Consul API Gateway Image      1                    
rapidfort/consul                             RapidFort optimized, hardened image for Cons…   0                    
ibmcom/consul-ppc64le                        Consul is a datacenter runtime that provides…   0                    
rapidfort/consul-official                    RapidFort optimized, hardened image for Cons…   0                    
hashicorp/consul-terraform-sync                                                               1                    
hashicorp/consul-aws                         Sync services in an AWS CloudMap namespace t…   0                    
hashicorp/consul-website                     image used for building consul's documentati…   0                    
hashicorp/consul-terraform-sync-enterprise                                                    0                    
jhipster/consul-config-loader                A small docker based tool to load Spring Boo…   9                    [OK]
noenv/consul                                 Consul Docker Image                              0                    
hashicorp/consul-lambda-registrator          Container image to register and deregister A…   0                    
ibmcom/consul-s390x                          Docker image for consul-s390x                    0                    
hashicorp/consul-smi-controller                                                               0                    
[root@machine136 nacos]# docker pull consul
Using default tag: latest
latest: Pulling from library/consul
895e193edb51: Pull complete 
9a8ecfd7194b: Pull complete 
e68aafa623d7: Pull complete 
80cb2d1beebf: Pull complete 
a563b41aad02: Pull complete 
9917a9cd9617: Pull complete 
Digest: sha256:a85bfcc836b2ebdbfdd15be6a2bd97d8bfe99d00325ed7c857519c1a01d5527a
Status: Downloaded newer image for consul:latest
docker.io/library/consul:latest
[root@machine136 nacos]# docker images
REPOSITORY   TAG             IMAGE ID       CREATED      SIZE
consul       latest          041dc476cc20   2 days ago   149MB
mysql        5.7.41-debian   5f99a3d9960f   4 days ago   462MB
mysql        latest          57da161f45ac   4 days ago   517MB

[root@machine136 nacos]# docker run -itd --name consul -p8500:8500 consul
d92a6921369cdf87517734f4470e0744a616dc605f5b44999777991aecaa0897
[root@machine136 nacos]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d92a6921369c consul "docker-entrypoint.s…" 14 seconds ago Up 13 seconds 8300-8302/tcp, 8301-8302/udp, 8600/tcp, 8600/udp, 0.0.0.0:8500->8500/tcp, :::8500->8500/tcp consul
86031f219411 mysql "docker-entrypoint.s…" 43 minutes ago Up 43 minutes 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp

 

测试

 

标签:Consul,consul,hashicorp,tcp,image,Linux,docker,Docker
From: https://www.cnblogs.com/hztech/p/17116887.html

相关文章

  • docker 安装redis6.2.10
    1,拉取redisdockerpullredis:6.2.102,创建映射文件mkdir-p/docker/redis/docker/redis/conf/docker/redis/datatouch/docker/redis/conf/redis.conf配置文件......
  • Linux最常见的4个截取命令详解!
    在Linux系统中截取命令有很多,但比较常用的截取命令一般包含:cut命令、printf命令、awk命令、sed命令,接下来我们通过这篇文章为大家详细的介绍一下这四个命令。1、cut......
  • Linux-常用基本命令(四)
    常用基本命令搜索查找类find查找文件或者目录find指令将从指定目录向下递归地遍历其各个子目录,将满足条件的文件显示在终端。1)基本语法find[搜索范围][选项]2)选......
  • C++ 修改防火墙firewall设置(Linux、Ubuntu、CentOS)
    1、简介1.1Ubuntuhttps://ubuntu.com/download/desktopUbuntu是一个以桌面应用为主的Linux操作系统,其名称来自非洲南部祖鲁语或豪萨语的“ubuntu"一词,意思是“人性”“......
  • docker搭建mysql主从复制
    docker搭建mysql主从复制​​1、主从复制搭建步骤​​​​1.1新建主服务器容器实例3307​​​​1.2新建my.cnf​​​​1.3重启master实例​​​​1.4进入mysql-master容......
  • GitLab安装使用(SSH+Docker两种方式)
    GitLab安装使用​​1、在ssh下安装gitlab​​​​1.1安装依赖​​​​1.2配置镜像​​​​1.3开始安装​​​​1.4gitlab常用命令​​​​2、在docker下安装gitlab​​......
  • docker安装redis:6.0.8(挂载外部redis.conf启动)
    docker安装redis:6.0.8​​1、从dockerhub上(阿里云加速器)拉取redis镜像到本地​​​​2、在centos宿主机文件模板拷贝进/zzyyuse/redis目录下​​​​3、修改/zzyyuse/re......
  • Docker+Nginx打包部署前后端分离项目
    Docker+Nginx打包部署前后端分离项目​​1、问题描述​​​​2、项目打包​​​​2.1前端项目打包​​​​2.1.1修改vue.config.js文件​​​​2.1.2router配置中添加bas......
  • docker安装mysql:5.7(利用数据卷挂载方式启动)
    docker安装mysql:5.7​​1、DockerHub上面查找mysql镜像​​​​2、拉取镜像​​​​3、新建mysql容器实例​​​​4、新建my.cnf文件​​​​5、重新启动mysql容器实例再......
  • Docker容器数据卷
    Docker容器数据卷​​1、--privileged=true配置说明​​​​2、容器数据卷是什么?​​​​3、数据卷案例​​​​3.1宿主vs容器之间映射添加容器卷​​​​3.2读写规则映射......