|
| 1 | +--- |
| 2 | +title: 'Agent Images' |
| 3 | +sidebarTitle: 'Agent Images' |
| 4 | +--- |
| 5 | + |
| 6 | +Checkly provides different agent images: |
| 7 | + |
| 8 | +* [Standard](#standard-image): The full agent image, supporting all check types |
| 9 | + |
| 10 | +* [Dev](#dev-image): The standard image with build tools for compiling npm packages with native dependencies |
| 11 | + |
| 12 | +* [Uptime](#uptime-image): A lightweight image for running uptime monitors only |
| 13 | + |
| 14 | +## Image Tag Format |
| 15 | + |
| 16 | +Image tags define which agent variant and version you run. |
| 17 | + |
| 18 | +```bash |
| 19 | +# Standard |
| 20 | +docker pull checkly/agent:X.Y.Z |
| 21 | + |
| 22 | +# Dev (with build tools) |
| 23 | +docker pull checkly/agent-dev:X.Y.Z |
| 24 | + |
| 25 | +# Uptime |
| 26 | +docker pull checkly/agent-uptime:X.Y.Z |
| 27 | +``` |
| 28 | + |
| 29 | +<Note>Use versioned tags for reproducible deployments. Floating tags (like `:latest`) may change between pulls. Browse available versions on [Docker Hub](https://hub.docker.com/r/checkly/agent/tags).</Note> |
| 30 | + |
| 31 | +## Standard Image |
| 32 | + |
| 33 | +The standard image (`checkly/agent:X.Y.Z`) is the default and recommended option for most setups. |
| 34 | + |
| 35 | +It supports the full range of Checkly monitors: |
| 36 | + |
| 37 | +* [Synthetic checks](/detect/synthetic-monitoring/overview): API, Multistep, Browser and Playwright Check Suites |
| 38 | +* [Uptime monitors](/detect/uptime-monitoring/overview): URL, DNS, TCP, ICMP, Heartbeat |
| 39 | + |
| 40 | +Use the standard image unless you have a specific need for the dev or uptime variants. |
| 41 | + |
| 42 | +## Uptime Image |
| 43 | + |
| 44 | +The uptime image (`checkly/agent-uptime:X.Y.Z`) is a lightweight version of the agent designed for [uptime monitoring](/detect/uptime-monitoring/overview) only. |
| 45 | + |
| 46 | +It supports URL, DNS, TCP, ICMP and Heartbeat monitors. |
| 47 | + |
| 48 | +## Dev Image |
| 49 | + |
| 50 | +If any of the checks you run on Private Locations rely on npm packages with native code, those packages need to be compiled during installation. |
| 51 | + |
| 52 | +The standard agent is optimized for size and doesn’t ship with build tools. In those cases, you’ll need to use the dev image instead. |
| 53 | + |
| 54 | +#### When to Use the Dev Image |
| 55 | + |
| 56 | +Use the dev image (`checkly/agent-dev:X.Y.Z`) when your checks require npm packages with native dependencies that need compilation. Common examples include: |
| 57 | + |
| 58 | +- `sqlite3` - SQLite database |
| 59 | +- `zookeeper` - Apache ZooKeeper client |
| 60 | + |
| 61 | +If your checks only use pure JavaScript packages, the standard runtime image is recommended for its smaller size and faster startup. |
| 62 | + |
| 63 | +#### What's Included in the Dev Image |
| 64 | + |
| 65 | +The dev agent works exactly like the standard agent, but includes the build tools required to compile native modules. |
| 66 | + |
| 67 | +It adds the following to the standard image: |
| 68 | + |
| 69 | +| Tool | Purpose | |
| 70 | +|------|---------| |
| 71 | +| `gcc`, `g++`, `make` | Compile native extensions | |
| 72 | +| `python3` | Required by node-gyp | |
| 73 | + |
| 74 | +These tools enable compilation of native Node.js modules during `npm install`. |
| 75 | + |
| 76 | +#### FAQ |
| 77 | + |
| 78 | +<Accordion title="Can I use the dev image in production?"> |
| 79 | +Yes, the dev image is production-ready. It contains the same runtime as the standard image, plus build tools. The only tradeoff is a larger image size. |
| 80 | +</Accordion> |
| 81 | + |
| 82 | +<Accordion title="Do I need the dev image for Playwright checks?"> |
| 83 | +No. Playwright and its dependencies are pre-installed in both variants. You only need the dev image if your check code imports npm packages with native dependencies. |
| 84 | +</Accordion> |
| 85 | + |
| 86 | +<Accordion title="How do I know if a package needs the dev image?"> |
| 87 | +If `npm install` fails with errors about `node-gyp`, `python`, `gcc`, or "compilation failed", you likely need the dev image. |
| 88 | +</Accordion> |
0 commit comments