From 6c9b7244a9bcf26d8edb67c8e0eac7021f971b16 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sun, 3 May 2026 21:55:57 +0200 Subject: [PATCH] disable seccomp to fix docker 29.4.2 compat --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 9d2e662..13847cc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ use std::sync::Arc; use std::time::{Duration, Instant}; use thiserror::Error; use tokio::signal::ctrl_c; -use tokio::time::{sleep, timeout}; +use tokio::time::sleep; use tokio::{select, spawn}; use tracing::{debug, error, info, instrument, warn}; @@ -105,6 +105,7 @@ async fn setup( let cmnd = format!( "docker run --name spire -d \ + --security-opt seccomp=unconfined \ -e NAME={name} -e TV_NAME={tv_name} -e PASSWORD={password} -e RCON_PASSWORD={rcon} \ -e DEMOSTF_APIKEY={demostf} -e LOGSTF_APIKEY={logstf} \ -e CONFIG_LEAGUE={league} -e CONFIG_MODE={mode} -e 'EXTRA_CFG={extra_cfg}' \