Skip to main content
Deploy a Blink self-hosted Runner on a Linux host using Docker. The Runner uses Docker to start and manage plugin containers as workflows run.

Prerequisites

  1. Docker Engine: Install and start Docker Engine on the host.
  2. At least 40 GB of available disk space: The file system that stores Docker data must have at least 40GB of free space for the Runner and plugin images. Check the available space on the Docker data file system:
    In the output, confirm that the Avail value is at least 40G.
  3. Docker Hub authentication: Authenticate before deployment to prevent rate limits, TLS handshake timeouts, or image pull failures:
  4. Blink permissions: Your Blink user must have the Owner role, Contributor role, or a custom role with the runners:view and runners:edit permissions.
Running multiple Blink Runners on the same host is not supported.

Network requirements

Before deploying the Runner, verify the following:
  • Container communication: If the host uses a hardened firewall configuration, allow Docker containers to communicate with each other. Docker assigns ports dynamically, so the rule must permit internal container-to-container traffic rather than a single fixed port.
  • DNS resolution: Confirm that every DNS server configured on the host resolves external addresses correctly.
  • Outbound HTTPS: Allow the Runner to connect to Blink services and Docker Hub over port 443. See Runner network requirements for the required destinations.

Deployment Guide

1

Navigate to the Runners page

In the Blink console, select Runners in the left navigation, then click New Runner.
2

Fill in the runner group details

The dialog opens on Add New Runner Group.
  • Name: Enter a name for the Runner group. It must be unique in the workspace.
  • Tags: Add or create tags (optional).
  • Runner type: Docker
  • Set as default runner: Check this box to set this Runner group as the default. When enabled, any workflows that do not explicitly specify a Runner group will automatically be assigned to this one.
3

(Optional) Pre-install Python packages

Expand Advanced to add packages. Packages are saved with the group when you create it in the next step.
By default, a workflow that needs a Python package installs it with the Pip Install action, which downloads and installs the package on every execution. Instead, you can define the packages once on the runner group. Every runner in the group installs them in advance, so Run Python steps can import them immediately.You can set the packages when you create a runner group, as described in this step, or add them later to an existing runner group: on the Runners page, click the menu on the runner, select Edit, and continue from the first item below.
  1. Expand the Advanced section of the dialog and find Packages.
  2. Python version: Select the Python version the packages are installed into. To use them in a workflow, set the same Version in the Run Python action.
  3. Packages: Enter one package per line. Any package specifier that pip accepts is supported, for example:
Lines that start with - (for example -r requirements.txt or --index-url ...) are not allowed, since they are pip options and not packages.
Pin package versions (for example pandas==2.2.1) for predictable results. Without a version, the latest available version at the time of installation is used.
The runners download the packages from your environment, so they need network access to the package index (by default, PyPI). To remove all packages, clear the list and save. The deployment details shown in the next steps already include the package list, so new runners start with it from their first run.When you finish configuring the runner group, click Save (or Create for a new runner group).Once the runners are ready, import the package in a Run Python step, with no install step:
  • Packages are configured per runner group, and apply only to self-hosted runners. Blink Cloud runners are not affected by the package list.
  • Workflows that use the Pip Install action keep working. You can still use it to add a package on top of the pre-installed ones.
4

Create the runner group

Click Continue. The runner group is created at this point, and the dialog moves to Configure group settings with a confirmation that the group was created.To go back to the group details, click Back:
  • Name, Tags, Set as default runner and the packages are saved with the group and can no longer be changed in this dialog. To change them later, click the on the runner group in the Runners page and select Edit.
  • Runner type stays editable. It only selects which install instructions are shown. Click Continue again to see the instructions for the new type; no other group is created.
If a runner group with the same name already exists, an error appears above the dialog buttons and the group is not created. Change the name and click the button again.
5

Copy the installation command

In Configure group settings, click the icon in the top-right corner of the command box. Then click Done to close the dialog.
WARNING: The installation command contains the Runner registration token, which cannot be retrieved again after you close the dialog. Treat the command as a secret and store it securely if you need it for future use.
6

Run the installation command

On the Docker host, paste and run the copied command. Wait for the installation to complete, then return to the Runners page and confirm that the Runner status is Connected.

Managing Runner Packages

The package list is a setting of the runner group, shared by all of its runners. If you add, change or remove packages, or change the Python version, runners are updated the same way they are for a new Runner version, so workflows keep running throughout:
  1. An Update button is shown for runners that run an older package list than their group. Click it, or let auto-update apply it, if enabled.
  2. A new runner is started and installs the packages. It receives no work until the installation is complete.
  3. When the new runner is ready, the old runner stops. Until then, the old runner keeps running workflows with the previous packages.
If the installation fails, for example because a package name is misspelled or a version does not exist:
  • The new runner is shown as Degraded, together with the reason, and receives no work.
  • The old runner is not affected and keeps running workflows with the previous packages.
  • Nothing is partially installed: if one package in the list cannot be installed, none of the packages in that list are.
To fix it, correct the package list, save, and click Update again. Restarts: Each runner remembers the package list it was deployed with. After a restart, for example following a crash, an eviction or a host reboot, it comes back with the same packages. Only an update moves a runner to a new package list, so a faulty change cannot spread through restarts.
The feature is not enabled for your workspace. Contact your Blink representative.
Open the runner to read the failure reason. Common causes are a misspelled package name, a version that does not exist, or a runner that cannot reach the package index. Fix the list, save, and click Update. The previous runner keeps serving workflows in the meantime.
Check that the Version in the Run Python action matches the Python version selected in the runner group, and that the workflow runs on that runner group.

Balancing the Load within a Runner Group

Learn how to balance workloads across a Docker or Kubernetes Runner group.

Scaling up a Runner Group

Learn how to scale a Docker or Kubernetes Runner group.