Skip to content

Commit d72b919

Browse files
committed
fix command
1 parent da92200 commit d72b919

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

solutions/observability/synthetics/monitor-resources-on-private-networks.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -89,38 +89,6 @@ Then enroll and run an {{agent}}. You’ll need an enrollment token and the URL
8989

9090
For more information on running {{agent}} with Docker, refer to [Run {{agent}} in a container](/reference/fleet/elastic-agent-container.md).
9191

92-
:::{tab-set}
93-
:group: docker
94-
:::{tab-item} Latest
95-
:sync: latest
96-
97-
```sh
98-
docker run \
99-
--env FLEET_ENROLL=1 \
100-
--env FLEET_URL={fleet_server_host_url} \
101-
--env FLEET_ENROLLMENT_TOKEN={enrollment_token} \
102-
--cap-add=NET_RAW \
103-
--cap-add=SETUID \
104-
--rm docker.elastic.co/elastic-agent/elastic-agent-complete:{{version.stack}}
105-
```
106-
:::
107-
108-
:::{tab-item} Specific version
109-
:sync: specific
110-
111-
```sh
112-
docker run \
113-
--env FLEET_ENROLL=1 \
114-
--env FLEET_URL={fleet_server_host_url} \
115-
--env FLEET_ENROLLMENT_TOKEN={enrollment_token} \
116-
--cap-add=NET_RAW \
117-
--cap-add=SETUID \
118-
--rm docker.elastic.co/elastic-agent/elastic-agent-complete:<SPECIFIC.VERSION.NUMBER>
119-
```
120-
You can download and install a specific version of the {{stack}} by replacing `<SPECIFIC.VERSION.NUMBER>` with the version number you want. For example, you can replace `<SPECIFIC.VERSION.NUMBER>` with {{version.stack.base}}.
121-
:::
122-
123-
::::
12492

12593
```sh
12694
docker run \

0 commit comments

Comments
 (0)