2014-02-08 00:41:03 +00:00
|
|
|
---
|
2020-09-01 15:14:13 +00:00
|
|
|
layout: commands
|
2020-04-06 20:27:35 +00:00
|
|
|
page_title: 'Commands: Agent'
|
2020-04-13 18:40:26 +00:00
|
|
|
sidebar_title: agent
|
2020-04-07 18:55:19 +00:00
|
|
|
description: >-
|
|
|
|
The `consul agent` command is the heart of Consul: it runs the agent that
|
|
|
|
performs the important task of maintaining membership information, running
|
|
|
|
checks, announcing services, handling queries, etc.
|
2014-02-08 00:41:03 +00:00
|
|
|
---
|
|
|
|
|
2014-02-19 01:32:13 +00:00
|
|
|
# Consul Agent
|
2014-02-08 00:41:03 +00:00
|
|
|
|
2014-02-19 01:32:13 +00:00
|
|
|
The `consul agent` command is the heart of Consul: it runs the agent that
|
2014-02-08 00:41:03 +00:00
|
|
|
performs the important task of maintaining membership information,
|
2014-02-19 01:32:13 +00:00
|
|
|
running checks, announcing services, handling queries, etc.
|
2014-02-08 00:41:03 +00:00
|
|
|
|
2014-02-19 01:32:13 +00:00
|
|
|
Due to the power and flexibility of this command, the Consul agent
|
2020-04-09 23:46:54 +00:00
|
|
|
is documented in its own section. See the [Consul Agent](/docs/agent/basics)
|
2014-02-08 00:41:03 +00:00
|
|
|
section for more information on how to use this command and the
|
|
|
|
options it has.
|