Skip to content

Commit da92200

Browse files
committed
add tab
1 parent 7bdd2d8 commit da92200

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

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

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,63 @@ The `elastic-agent-complete` Docker image is the only way to have all available
6565

6666
To pull the Docker image run:
6767

68+
:::{tab-set}
69+
:group: docker
70+
:::{tab-item} Latest
71+
:sync: latest
72+
6873
```sh
6974
docker pull docker.elastic.co/elastic-agent/elastic-agent-complete:{{version.stack}}
7075
```
76+
:::
77+
78+
:::{tab-item} Specific version
79+
:sync: specific
80+
```sh subs=true
81+
docker pull docker.elastic.co/elastic-agent/elastic-agent-complete:<SPECIFIC.VERSION.NUMBER>
82+
```
83+
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}}.
84+
:::
85+
86+
::::
7187

7288
Then enroll and run an {{agent}}. You’ll need an enrollment token and the URL of the {{fleet-server}}. You can use the default enrollment token for your policy or create new policies and [enrollment tokens](/reference/fleet/fleet-enrollment-tokens.md) as needed.
7389

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

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+
::::
124+
76125
```sh
77126
docker run \
78127
--env FLEET_ENROLL=1 \

0 commit comments

Comments
 (0)