def METHOD_NAME(self, docker_check, containers, sleep):
    """Attach log to the console without errors."""
    container1 = MagicMock()
    container1.name = f"{APPNAME}-iknl-system-server"
    containers.list.return_value = [container1]
    sleep.side_effect = KeyboardInterrupt("Boom!")
    runner = CliRunner()
    result = runner.invoke(cli_server_attach, ["--name", "iknl"])
    self.assertIsNone(result.exception)
    self.assertEqual(result.exit_code, 0)