From 4eea5eb88059324517d9c0e520507c2d37fb157b Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Wed, 17 Sep 2025 10:32:34 +0800 Subject: [PATCH] fix command --- apps/efka/src/docker/docker_commands.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/efka/src/docker/docker_commands.erl b/apps/efka/src/docker/docker_commands.erl index 6e439e5..98348e4 100644 --- a/apps/efka/src/docker/docker_commands.erl +++ b/apps/efka/src/docker/docker_commands.erl @@ -122,7 +122,7 @@ check_container_exist(ContainerName) when is_binary(ContainerName) -> -spec start_container(ContainerName :: binary()) -> boolean(). start_container(ContainerName) when is_binary(ContainerName) -> PortSettings = [stream, exit_status, use_stdio, binary], - ExecCmd = "docker start " ++ binary_to_list(ContainerName), + ExecCmd = "docker start " ++ binary_to_list(ContainerName) ++ " >/dev/null 2>&1", case catch erlang:open_port({spawn, ExecCmd}, PortSettings) of Port when is_port(Port) -> case gather_output(Port) of