System(d) container for use with Podman Machine, MicroShift, OpenShift Local and Podman Desktop installations, etc.
Start the system container. You can choose between the following options: Debian, Fedora or RHEL UBI9
$ podman run -d --name=cloudflarewarp \
--hostname $HOSTNAME-cloudflarewarp \
--network=host --systemd=always \
ghcr.io/spotsnel/cloudflare-client:latest
$ podman run -d --name=cloudflarewarp \
--hostname $HOSTNAME-cloudflarewarp \
--network=host --systemd=always \
ghcr.io/spotsnel/cloudflare-client/fedora:latest
$ podman run -d --name=cloudflarewarp \
--hostname $HOSTNAME-cloudflarewarp \
--network=host --systemd=always \
ghcr.io/spotsnel/cloudflare-client/ubi9:latest
Register the client with
$ podman exec -it cloudflarewarp warp-cli register
or using a team account with
$ podman exec -it cloudflarewarp warp-cli teams-enroll
per instructions at #1
Use the CLI, Podman Desktop or Cockpit terminal to do so.
The lifecycle of the container can be maintained by the host using a systemd service unit:
$ (cd $HOME/.config/systemd/user && podman generate systemd --name --files cloudflarewarp
$ systemctl --user enable --now container-cloudflarewarp
$ loginctl enable-linger $USER