Cloudflare WARP Docker Failed to start firewall

I am trying to get the warp-cli working on a docker container. The container is built with a slim Debian Buster base image and uses s6 as a process supervisor. The .deb installer is downloaded and installed in the container and the warp-svc service is configured to run as an s6 service. The docker container has the NET_ADMIN privilege and uses the host networking mode. When trying to connect using the warp-cli, it seems that it cannot start a firewall. The following is an excerpt from the warp-svc logs:

...
2023-03-26T15:36:43.507Z  INFO main_loop: firewall: Firewall starting
2023-03-26T15:36:43.507Z  INFO warp::warp_service::ipc_loop: IPC connection ended
2023-03-26T15:36:43.509Z  INFO warp::warp_service::ipc_loop: IPC: new connection privileged=true process_name="/bin/warp-cli" pid=233
2023-03-26T15:36:43.512Z  WARN main_loop: firewall::linux: Failed to set firewall rules via stdin. Retrying using temporary file exit_code=ExitStatus(unix_wait_status(256))
2023-03-26T15:36:43.519Z ERROR main_loop: firewall::linux: Failed to start firewall with exit code: exit status: 1
2023-03-26T15:36:43.519Z DEBUG main_loop: firewall: Firewall allow private IPs
2023-03-26T15:36:43.526Z  WARN main_loop: firewall::linux: Failed to set firewall rules via stdin. Retrying using temporary file exit_code=ExitStatus(unix_wait_status(256))
2023-03-26T15:36:43.533Z ERROR main_loop: firewall::linux: Failed to start firewall with exit code: exit status: 1
2023-03-26T15:36:43.533Z  INFO main_loop: warp::warp_service: New User Settings
2023-03-26T15:36:43.533Z DEBUG main_loop: warp::warp_service::ipc_handlers: Sending IPC update: SettingsUpdated
2023-03-26T15:36:43.533Z DEBUG main_loop: warp::warp_service::ipc_handlers: Ipc Broadcast ResponseUpdate: SettingsUpdated
2023-03-26T15:36:43.533Z DEBUG main_loop: warp::warp_service: update_settings: no restart required
2023-03-26T15:36:43.533Z DEBUG main_loop: firewall: Firewall allow private IPs
2023-03-26T15:36:43.542Z  WARN main_loop: firewall::linux: Failed to set firewall rules via stdin. Retrying using temporary file exit_code=ExitStatus(unix_wait_status(256))
2023-03-26T15:36:43.552Z ERROR main_loop: firewall::linux: Failed to start firewall with exit code: exit status: 1
2023-03-26T15:36:43.552Z  WARN main_loop: warp::warp_service: Disconnected, but reason unknown net_info=IPv4: [enp0s3; 10.0.2.15; Ethernet]; DNS servers:;   172.30.32.3:53; 
2023-03-26T15:36:43.552Z DEBUG main_loop: firewall: Firewall allow private IPs
2023-03-26T15:36:43.560Z  WARN main_loop: firewall::linux: Failed to set firewall rules via stdin. Retrying using temporary file exit_code=ExitStatus(unix_wait_status(256))
2023-03-26T15:36:43.570Z ERROR main_loop: firewall::linux: Failed to start firewall with exit code: exit status: 1
2023-03-26T15:36:43.570Z  INFO main_loop: warp::warp_service: captive_portal_fw_until: Indefinitely
2023-03-26T15:36:43.570Z DEBUG main_loop: warp::warp: Using auto fallback: true
2023-03-26T15:36:43.571Z DEBUG main_loop: warp::warp: Current Network: IPv4: [enp0s3; 10.0.2.15; Ethernet]; DNS servers:;   172.30.32.3:53; 
2023-03-26T15:36:43.572Z  INFO main_loop: warp::warp: Initiate WARP connection
2023-03-26T15:36:43.573Z DEBUG main_loop: firewall: Firewall allow tunnel
2023-03-26T15:36:43.580Z  WARN main_loop: firewall::linux: Failed to set firewall rules via stdin. Retrying using temporary file exit_code=ExitStatus(unix_wait_status(256))
2023-03-26T15:36:43.588Z ERROR main_loop: firewall::linux: Failed to start firewall with exit code: exit status: 1
...

How can I go about solving this issue? Is there a dependency missing?

Thank you