HUB
Sign inSign up
app-runner logo

tiwutdev/app-runner

By tiwutdev

•Updated 9 days ago

A Docker image designed to run Linux binaries.

Image
Networking
Developer tools
Monitoring & observability
0

99

tiwutdev/app-runner repository overview

⁠docker-app-runner

A Docker image designed to run and supervise arbitrary Linux binaries with a GTK4 / Libadwaita styled Web UI. Includes a native interactive shell, a built-in file explorer, live process metrics, crash/freeze auto-restart watchdog, and real-time logs.

  • Docker Hub: tiwutdev/app-runner
  • GitHub: tiwut/docker-app-runner
  • Platforms: linux/amd64, linux/arm64

⁠Features

  • Libadwaita / GTK4 Interface: Clean, dark GNOME-style dashboard focused strictly on operation.
  • Universal Linux Binary Support: Pre-loaded with standard Linux dynamic runtime libraries (libc6, libstdc++6, libgcc-s1, libssl3, zlib1g, libglib2.0-0, libcurl4, coreutils, strace, lsof).
  • Process Supervision:
    • Run on container startup.
    • Auto-restart on crash with configurable backoff delay.
    • Zombie and process freeze detection.
    • TCP port watchdog (restarts binary if network socket hangs).
  • Native Shell: Full interactive /bin/bash terminal in the browser via WebSockets and PTY.
  • File Explorer: Upload binaries, set executable bits (chmod +x), navigate directories, and select the target binary with one click.
  • Live Logs: Real-time stdout/stderr stream with auto-scroll and download options.

⁠Quick Start

⁠1. Using Docker Compose

Create or use the provided compose.yaml:

services:
  app-runner:
    image: tiwutdev/app-runner:latest
    container_name: app-runner
    restart: unless-stopped
    ports:
      - "8080:8080"
    environment:
      - PORT=8080
      - DATA_DIR=/data
    volumes:
      - ./data:/data
    stdin_open: true
    tty: true

Start the container:

docker compose up -d

Open http://localhost:8080 in your web browser.


⁠2. Using Docker CLI
docker run -d \
  --name app-runner \
  --restart unless-stopped \
  -p 8080:8080 \
  -v $(pwd)/data:/data \
  tiwutdev/app-runner:latest

⁠Building and Pushing (Multi-Arch)

The repository includes build and push scripts using Docker Buildx for linux/amd64 and linux/arm64.

⁠Build Multi-Arch Image
./build.sh latest
⁠Push to Docker Hub
docker login
./push.sh latest

⁠Configuration Reference

Settings can be edited directly in the Web UI or in /data/config.json:

FieldTypeDefaultDescription
binary_pathString""Path to executable file (e.g. /data/my-binary)
argsString""Command line arguments passed to the binary
workdirString"/data"Working directory for the binary execution
envObject{}Key-value pairs for environment variables
autostartBooleanfalseStart binary automatically when container boots
autorestartBooleantrueRestart binary if it exits unexpectedly or crashes
restart_delayNumber3Delay in seconds before auto-restarting
watchdog_portNumber0Port to test responsiveness (0 disables check)
watchdog_timeoutNumber5Socket connection timeout in seconds

⁠Directory Structure

.
├── Dockerfile
├── compose.yaml
├── build.sh
├── push.sh
├── README.md
├── server/
│   ├── main.py
│   └── static/
│       ├── index.html
│       ├── style.css
│       ├── app.js
│       └── vendor/
│           ├── xterm.js
│           ├── xterm.css
│           └── xterm-addon-fit.js
└── data/

Tag summary

Content type

Image

Digest

sha256:4e4a327c2…

Size

79.8 MB

Last updated

9 days ago

docker pull tiwutdev/app-runner