Overview
The self-hosted Blink runner traditionally supports Docker. However, with a few modifications, you can use Podman as well. This guide outlines the necessary steps to configure Podman for use with The self-hosted Blink runner.Prerequisites
Ensure you have Podman installed on your system. If not, you can install it using your package manager.Steps to Enable Podman Support
1. Enable Podman Socket
Verify if the Podman socket is enabled by checking for the file /run/user/$UID/podman/podman.sock.
2. Modify the Docker Command
The Blink UI generates adocker run
command for the Self-Hosted Runner. To use Podman instead, make the following changes to the command:
- Change the volume mapping:
- From:
-v /var/run/docker.sock:/var/run/docker.sock
- To:
-v /run/podman/podman.sock:/var/run/docker.sock
- Change the following:
- Replace:
--add-host "host.docker.internal:host-gateway"
- With:
-e DOCKER_HOST_MACHINE=host.containers.internal
3. Run the Adjusted Podman Command
Execute the adjustedpodman run
command in your terminal.