fleet/tools/fleetd-linux/README.md
Lucas Manuel Rodriguez 2781193cdd
Added fleetd docker images to test/develop linux fleetd features (#25027)
Useful while testing/developing #24385.

In the future we can push some of these to Fleet's Docker Hub and
include them in `fleetctl preview` to allow demoing of e.g. script
execution on linux devices.
2024-12-27 16:16:39 -03:00

19 lines
No EOL
679 B
Markdown

# fleetd-linux
This directory contains scripts to build and run Docker Linux images with fleetd installed on them that connect to a Fleet instance running on the host (similar to [tools/osquery](../osquery/)).
PS: In the future, we could push these images to Docker Hub and include some of them in `fleetctl preview` (to allow demoing script execution on Linux hosts).
## Build fleetd docker images
To build all docker images run:
```sh
./tools/fleetd-linux/build-all.sh
```
## Run fleetd containers
To run all fleetd docker images and enroll them to your local Fleet instance, run:
```sh
ENROLL_SECRET=<...> docker compose -f ./tools/fleetd-linux/docker-compose.yml up
```