Files
Lucas Manuel Rodriguez 05493a8fe5 Changes to ease testing while releasing fleetd to TUF (#44738)
This eases the testing of fleetd updates (to `edge`) on Linux amd64
(from macOS).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Chores**
* Build process now accepts optional CLI configuration parameters
(--update-url, --orbit-channel, --desktop-channel, --osqueryd-channel)
to customize package generation during builds.
* Containerized fleetd services now use a restart policy that keeps
services running unless explicitly stopped, improving reliability and
reducing downtime.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-06 09:06:15 -03:00

23 lines
903 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
```
To build all docker images using `edge` channels from our staging TUF:
```sh
UPDATE_URL=https://updates-staging.fleetdm.com ORBIT_CHANNEL=edge DESKTOP_CHANNEL=edge OSQUERYD_CHANNEL=edge ./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
```