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