See the newer instructions here:
- You already have Clear Containers and Docker installed.
#!/bin/bash | |
# XXX: change as necessary | |
runtime="/home/james/go/src/github.com/clearcontainers/runtime/cc-runtime" | |
die() | |
{ | |
msg="$*" | |
echo "ERROR: $msg" >&2 | |
exit 1 |
See the newer instructions here:
diff --git a/src/server.rs b/src/server.rs | |
index e307527..5871fd4 100644 | |
--- a/src/server.rs | |
+++ b/src/server.rs | |
@@ -46,6 +46,7 @@ pub struct Server { | |
quit: Arc<AtomicBool>, | |
connections: Arc<Mutex<HashMap<RawFd, Connection>>>, | |
methods: Arc<HashMap<String, Box<dyn MethodHandler + Send + Sync>>>, | |
+ pre_handler: Option<Arc<Box<dyn PreHandler + Send + Sync>>>, | |
handler: Option<JoinHandle<()>>, |
bash
, strace
, gdb
(and maybe rust-gdb
).kata-agent.service
file into the image:
$ cat kata-agent.service.in
#
# Copyright (c) 2018-2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
#!/bin/bash | |
# | |
# Copyright (c) 2021 Intel Corporation | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
#--------------------------------------------------------------------- | |
# FIXME: - start trace forwarder! | |
#--------------------------------------------------------------------- |
Chelsea and I have been looking at adding end-to-end openTelemetry tracing support to Kata Containers.
With Kata 2.x's simpler architecture, we only need tracing support in:
$ rustup component add rustfmt rls
$ rustup component add clippy
# Copyright (c) 2019 Ericsson Eurolab Deutschland GmbH | |
# Copyright (c) 2021 Adobe Inc. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
# XXX: WARNING: this file is auto-generated. | |
# XXX: | |
# XXX: Source file: "config/configuration-clh.toml.in" | |
# XXX: Project: |