On this page

Running Open WebIDE as a Podman quadlet

Quadlet lets systemd manage Open WebIDE as a Linux service, with SQLite and project files persisted on the host. Use a recent Podman with Quadlet .image support and systemd. See Podman's Quadlet reference. This deployment is not available on macOS/Windows.

Host administration is included in the image. Configure its SSH connection in Settings → Host → Host administration with your SSH username to manage the actual Linux host. The host address is automatic. Use the SSH credentials below; no privileged container or second bridge is required. See host administration.

For Git over SSH, see agent forwarding and public SSH configuration.

Install a published release

Download openwebide.image and openwebide.container from the nightly release. The image unit tracks its release channel (nightly for the nightly release, stable or preview for tagged releases); no checkout or build is needed. Repository templates in deploy/ default to stable; they work once 1.0 is published.

mkdir -p ~/.config/containers/systemd
mkdir -p ~/.local/state/openwebide/data ~/source
cp openwebide.image openwebide.container ~/.config/containers/systemd/
systemctl --user daemon-reload
systemctl --user start openwebide.service
systemctl --user enable --now podman-auto-update.timer

The .container uses Image=openwebide.image, which makes Quadlet generate a dependency on openwebide-image.service. The generated app service is openwebide.service, not openwebide.container. [Install] WantedBy=default.target starts it when the user manager starts; generated units are not enabled with systemctl enable. To keep the user service running without an interactive login, configure user lingering (loginctl enable-linger "$USER").

Before starting, edit the workspace mount if your projects are outside ~/source. The supplied units use:

# openwebide.image
[Image]
Image=ghcr.io/openwebide/openwebide:stable

[Service]
TimeoutStartSec=900
# openwebide.container
[Container]
Image=openwebide.image
Pull=newer
AutoUpdate=registry
ContainerName=openwebide
PublishPort=127.0.0.1:8080:3000
PublishPort=127.0.0.1:3001:3001
Volume=%h/.local/state/openwebide/data:/app/.spin:Z
Volume=%h/source:/workspace:Z

[Service]
Restart=always
TimeoutStartSec=900

[Install]
WantedBy=default.target

The :Z suffix relabels bind mounts for SELinux; drop it on systems without SELinux, and choose the workspace scope deliberately. The bundled entrypoint keeps Spin's host-write mount flags and runs the bridge against /workspace. Its persistent secret lives in the mounted data directory.

Open http://localhost:8080/ and register the first account.

Networking and port configuration

Host administration and SSH setup

Host administration and Git over SSH use the host user's SSH agent forwarded into the container. Because automated commands run non-interactively with -oBatchMode=yes, key authentication is required:

  1. Enable host SSH server: Ensure sshd is active on the host (systemctl enable --now sshd).
  2. Authorize an SSH key on the host: Ensure your host user account has an SSH key pair authorized in ~/.ssh/authorized_keys: sh mkdir -p ~/.ssh && chmod 700 ~/.ssh ssh-keygen -t ed25519 -N "" -f ~/.ssh/id_ed25519 cat ~/.ssh/id_ed25519.pub >> ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys
  3. Enable user SSH agent and load key: Start the user systemd agent socket and add your key: sh systemctl --user enable --now ssh-agent.socket export SSH_AUTH_SOCK="/run/user/$UID/ssh-agent.socket" ssh-add ~/.ssh/id_ed25519
  4. Prepare public SSH configuration: Prepare ~/.config/openwebide/ssh with public keys and host fingerprints: sh mkdir -p ~/.config/openwebide/ssh && chmod 700 ~/.config/openwebide/ssh cp ~/.ssh/id_ed25519.pub ~/.config/openwebide/ssh/ ssh-keyscan -p 22 host.containers.internal >> ~/.config/openwebide/ssh/known_hosts chmod 600 ~/.config/openwebide/ssh/known_hosts
  5. Configure openwebide.container: Add the agent socket, public config volume, and automatic SSH host under [Container]: ini Environment=OPENWEBIDE_HOST_SSH_HOST=host.containers.internal Volume=%t/ssh-agent.socket:/run/openwebide-ssh-agent.sock Volume=%h/.config/openwebide/ssh:/run/openwebide-ssh:ro,Z Environment=SSH_AUTH_SOCK=/run/openwebide-ssh-agent.sock SELinux hosts (Fedora, Bazzite, RHEL): Rootless container processes (container_t) are blocked by default from connecting to host user runtime domain sockets (user_tmp_t), resulting in Permission denied errors. Add SecurityLabelDisable=true under [Container] to permit socket access: ini SecurityLabelDisable=true
  6. Reload and restart: sh systemctl --user daemon-reload systemctl --user restart openwebide.service
  7. Configure in Settings → Host → Host administration:
  8. Check Enable host administration.
  9. Set SSH username to your host user account.
  10. The host operating system is detected automatically.
  11. Under Advanced connection settings → Pinned public host keys, paste the verified host public key for host.containers.internal (or leave blank if included in the mounted known_hosts).
  12. Select Save and test connection.
systemctl --user status openwebide.service
journalctl --user -u openwebide.service -f

For a system service, install units in /etc/containers/systemd/, replace %h volumes with absolute paths, use WantedBy=multi-user.target, and omit --user.

Build from source

Until a public image exists, or to test a checkout, build the Dockerfile with Podman:

podman build -t openwebide:local .

Use the same container unit but change its image line to Image=openwebide:local. Remove Pull=newer and AutoUpdate=registry for this locally built image. The image unit is unnecessary for this path. Reload systemd and start the app service as above; rebuild and restart the service after source changes.

Upgrade

Pull=newer checks for a newer image when the container starts; AutoUpdate=registry lets podman-auto-update.timer check the registry periodically and restart the service when the tracked image changes. The supplied timer runs daily by default. Check upcoming runs with systemctl --user list-timers podman-auto-update.timer, or preview available updates with podman auto-update --dry-run. See Podman's automatic-update documentation.

The nightly release's image unit follows nightly. Use stable to receive new stable releases automatically once published. A v1.0.0 tag or digest stays on that version; for manual upgrades, pin the image and remove AutoUpdate=registry. Choose nightly or preview to follow prerelease updates. Automatic updates restart the app and may interrupt active runs. Keep regular data backups using the release guide.

Stop the app and back up ~/.local/state/openwebide/data/ first. Set the target version in openwebide.image, then:

systemctl --user daemon-reload
systemctl --user restart openwebide-image.service
systemctl --user start openwebide.service

Keep the data/workspace paths unchanged. Read upgrade and restore guidance before switching versions; a database schema upgrade requires restoring the pre-upgrade backup to roll back safely.