Install and start GUAC
Prerequisites
Optional - Verify images and binaries
Download GUAC
- Download the GUAC CLI
guaconebinary for your machine’s OS and architecture from the latest GUAC release if you have not already done so. For example:- Linux x86_64 :
guacone-linux-amd64 - MacOS ARM64 :
guacone-darwin-amd64 - Windows x86_64 :
guacone-windows-amd64.exe
- Linux x86_64 :
-
Rename the binary to
guacone, mark it executable if necessary, and add it to your shell’s path. -
Download the compose yaml from the latest GUAC release.
- Download and unzip the demo data used in these examples.
Start the GUAC server
-
From the directory you downloaded the
guac-demo-compose.yaml, run:docker compose -f guac-demo-compose.yaml -p guac up --force-recreate -
Verify that GUAC is running:
docker compose ls --filter "name=guac"You should see:
NAME STATUS CONFIG FILES guac running(2) /Users/lumb/go/src/github.com/guacsec/guac/docker-compose.yml,/Users/lumb/go/src/github.com/guacsec/guac/guac/container_files/mem.yaml guac-demo running(5) /Users/lumb/go/src/github.com/guacsec/guac-demo/guac-demo-compose.yamlIf you don’t see the above, run
docker compose downand try starting up GUAC again. Because Docker Compose caches the containers used, the unclean state can cause issues.
GUAC Ports
| Port Number | GUAC Component | Note |
|---|---|---|
| 8080 | GraphQL server | To see the GraphQL playground, visit http://localhost:8080 |
| 2782 | Collector Subscriber | This service is notified whenever you run a collector, such as guacone collect files. Then subscribers can collect more data on any packages ingested. |
Now that you’ve installed GUAC, it’s time to ingest data.