Skip to content

Install with Docker

The skep-otelcol image runs the Skep distribution in a container. It is the quickest way to try Skep on a laptop or a single VM. The install guide in the app prints the exact command for the options you pick. This page explains it.

  • A Docker engine (Docker Desktop, OrbStack, or Docker on Linux) on amd64 or arm64.
  • A collector key (skc_...). The install flow creates one. See What you need first.
  • The machine can reach Skep over HTTPS.

The image is ghcr.io/skephq/skep-otelcol:0.1.0 (also tagged :0.1). It runs as a non-root user and exposes 4317 (OTLP gRPC), 4318 (OTLP HTTP) and 13133 (health check).

  1. In Skep, open Collectors, then Add collector. On a new organization, Home shows the same choices.
  2. Choose Need to deploy your first collector?
  3. Leave Platform on Docker.
  4. Pick where it runs (Gateway (recommended) or Agent on every node), where telemetry goes, a fleet name, and whether to turn on tail sampling (gateways only).
  5. Select Create collector key. The key is filled into the commands.

The guide prints these steps with your values. Here they are for a gateway with no backend yet, in the production environment.

  1. Set the key. The collector reads it from the environment. It is never written to a configuration file.

    Terminal window
    export SKEP_API_KEY=skc_...
  2. Save the configuration. Download skep-otelcol.yaml from the guide into the directory you run docker from.

  3. Start the collector. It runs in the background and Docker restarts it.

    Terminal window
    docker run -d --name skep-otelcol-gateway --restart unless-stopped \
    -e SKEP_API_KEY \
    -e SKEP_COLLECTOR_NAME=production-gateway \
    -p 4317:4317 -p 4318:4318 \
    -v "$PWD/skep-otelcol.yaml:/etc/skep-otelcol/config.yaml:ro" \
    -v skep-otelcol-gateway-state:/var/lib/skep-otelcol \
    ghcr.io/skephq/skep-otelcol:0.1.0 --config /etc/skep-otelcol/config.yaml

    The named volume keeps the collector’s identity and its exporter queue across restarts.

  4. Check that it started. Look for skepcontrol: registered with control plane in the log.

    Terminal window
    docker logs -f skep-otelcol-gateway
  5. Send it telemetry. Point your OpenTelemetry SDKs, or existing collectors, at it over OTLP:

    Terminal window
    export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318

With Honeycomb as the backend, the guide also exports HONEYCOMB_API_KEY and passes it to the container. With the agent profile, it mounts the host’s root filesystem read-only (-v /:/hostfs:ro) for host metrics.

You can connect Skep before you choose where telemetry goes:

  • No backend yet: the collector forwards nothing, and Skep still observes everything it receives. Regenerate the guide with a backend when you are ready.
  • Write to disk (Docker only): the collector writes OTLP JSON, one batch per line, to skep-otelcol-data/telemetry.jsonl next to where you run docker. Files rotate at 100 MiB and 5 old files are kept. The guide creates the directory and runs the container as your user, so you can read the files. It also prints a jq command that shows span names and durations as they arrive.

The image has two observe only profiles built in, /etc/skep-otelcol/profiles/gateway.yaml (the default) and /etc/skep-otelcol/profiles/agent.yaml. Observe only means Skep observes the telemetry and the collector forwards it nowhere. The profiles read their settings from the environment, so you need no configuration file:

Terminal window
docker run --rm \
-e SKEP_ENDPOINT=https://app.skep.observer \
-e SKEP_API_KEY=skc_... \
-p 4317:4317 -p 4318:4318 \
ghcr.io/skephq/skep-otelcol:0.1.0

SKEP_ENVIRONMENT sets the environment (default production) and SKEP_COLLECTOR_NAME the name (default: the container’s hostname). For the agent profile, mount the host’s root filesystem with -v /:/hostfs:ro and add --config /etc/skep-otelcol/profiles/agent.yaml after the image name. For a backend, generate a configuration in the guide instead.

Turn on Managed by Skep (OpAMP) in the guide to run the collector under the OpAMP supervisor. An admin creates the fleet in the guide first (Create fleet), so revision 1 is ready when the collector connects. There is no configuration file: the command sets SKEP_OPAMP_ENDPOINT (wss://app.skep.observer/v1/opamp), SKEP_FLEET, SKEP_TIER and SKEP_ENVIRONMENT, and starts the supervisor:

Terminal window
docker run -d --name skep-otelcol-gateway --restart unless-stopped \
-e SKEP_API_KEY \
-e SKEP_COLLECTOR_NAME=production-gateway \
-e SKEP_OPAMP_ENDPOINT=wss://app.skep.observer/v1/opamp \
-e SKEP_FLEET=production-gateway \
-e SKEP_TIER=gateway \
-e SKEP_ENVIRONMENT=production \
-p 4317:4317 -p 4318:4318 \
-v skep-otelcol-gateway-state:/var/lib/skep-otelcol \
--entrypoint /opampsupervisor \
ghcr.io/skephq/skep-otelcol:0.1.0 --config /etc/skep-otelcol/supervisor.yaml

Later changes arrive as fleet revisions you deploy in Skep. See Collectors and fleets.

  • The guide’s last step, Wait for it to register, checks every 3 seconds. It shows the collector’s name, its status and its observer positions when it registers.
  • Collectors lists it as online. Services appear in Data within about a minute.
  • The health check answers on port 13133 if you publish it (-p 13133:13133).
  • The container exits at once. Run docker logs skep-otelcol-gateway. Check that skep-otelcol.yaml is in the directory you ran docker from, and that SKEP_API_KEY is exported in that shell.
  • The log says skepcontrol: control plane not reachable; collector keeps exporting. The collector cannot register. The error after it says why: a 401 means the key is wrong or revoked (create a new collector key and start the container again), a network error means the container cannot reach Skep (check DNS, the firewall and any proxy). Your telemetry still flows to your backend meanwhile.
  • The name is already in use. A container from an earlier attempt exists. Remove it with docker rm -f skep-otelcol-gateway and run the command again.
  • No services appear. The collector registered but receives nothing. Check that your SDKs send to port 4317 or 4318 on this machine.
  • A collector shows as disconnected or stale. Skep has not heard from it for more than 10 minutes. Check that the container is running.

The image is signed with cosign (keyless) by the release workflow, and carries SBOM and provenance attestations:

Terminal window
id='^https://github.com/skephq/skep/.github/workflows/release-collector.yml@refs/tags/collector/v'
iss=https://token.actions.githubusercontent.com
cosign verify --certificate-identity-regexp "$id" --certificate-oidc-issuer "$iss" ghcr.io/skephq/skep-otelcol:0.1.0
docker buildx imagetools inspect ghcr.io/skephq/skep-otelcol:0.1.0 --format '{{json .SBOM}}'

The full component list of the distribution is on Choose a way to install.

Skep · Security · Changelog · Privacy