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