HashiCorp Consul Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 8: Line 8:
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
podman pull hashicorp/consul
podman pull hashicorp/consul
podman run -d -p 8500:8500 -p 8600:8600/udp --name=dev-consul hashicorp/consul agent -server -ui -node=server-1 -bootstrap-expect=1 -client=0.0.0.0
podman run --rm -d -p 8500:8500 -p 8600:8600/udp --name=dev-consul hashicorp/consul agent -server -ui -node=server-1 -bootstrap-expect=1 -client=0.0.0.0
</syntaxhighlight>
</syntaxhighlight>


=Accessing Consul Console=
=Accessing Consul Console=
http://localhost:8500
http://localhost:8500

Latest revision as of 00:08, 3 October 2023

Internal

Overview

Running Consul with podman

podman pull hashicorp/consul
podman run --rm -d -p 8500:8500 -p 8600:8600/udp --name=dev-consul hashicorp/consul agent -server -ui -node=server-1 -bootstrap-expect=1 -client=0.0.0.0

Accessing Consul Console

http://localhost:8500