Sign inSign up

paularlott/knot-frankenphp-runtime

By paularlott

•Updated about 21 hours ago

Runtime version of FrankenPHP without all the CLI tools.

Buildkit cache
Image
0

1.1K

paularlott/knot-frankenphp-runtime repository overview

⁠knot-frankenphp-runtime

FrankenPHP⁠ (Caddy + PHP in a single process) with the knot toolchain but no development tools — no ssh, git, editors, Node.js or Composer. It is the shared runtime layer for knot-frankenphp⁠ (which adds the dev layer) and for appliance images such as knot-adminer⁠ that build directly on it.

Serve any HTML or PHP file from ~/public_html on port 80. Without KNOT_SERVER there is no long-running foreground process, so run it with a command (or the knot agent) like any knot image.

⁠Tags

All tags are multi-arch (linux/amd64, linux/arm64); see Docker Hub⁠ for the current list.

Each release is also tagged <version>-<BUILD_DATE>.

⁠Usage

docker run -d \
  -p 8080:80 \
  -e KNOT_SERVER=https://knot.example.com \
  -e KNOT_USER=alice \
  -v knot_home:/home \
  paularlott/knot-frankenphp-runtime:8.5

⁠Environment variables

The entrypoint mirrors knot-ubuntu, so it supports the common knot variables:

VariableDefaultDescription
KNOT_USERknotRuntime user (uid 1000); created if missing
KNOT_SERVER(unset)knot server URL; if set, the agent is downloaded and started
KNOT_AGENT_ENDPOINT(unset)Agent endpoint reported to the server
KNOT_SPACEID(unset)Space identifier
KNOT_SERVICE_PASSWORD(auto-generated UUID)Shared service password
KNOT_SSHD(unset)Set to native to start sshd (not installed in this image; use knot-frankenphp)
KNOT_SSH_PORT2222Port for the SSH daemon
KNOT_SYSLOG_PORT1514Syslog forward target (0 disables forwarding)
TZEtc/UTCTimezone (also sets date.timezone)

⁠Exposed ports

PortProtocolPurpose
80TCPHTTP (FrankenPHP)
443TCP/UDPHTTPS / HTTP-3 (when enabled)
2019TCPCaddy admin API

⁠Volumes

  • /home — persistent home directory; serve content from ~/public_html.

⁠License

FrankenPHP is MIT⁠. This image's packaging is Apache License 2.0⁠.

Source: paularlott/knot-base-images⁠.

Tag summary

Content type

Image

Digest

sha256:9d5d23bf9…

Size

276.2 MB

Last updated

about 21 hours ago

docker pull paularlott/knot-frankenphp-runtime:8.5-20260929