mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-13 02:46:21 +00:00
kata-debug is a tool that is used as part of the Kata Containers CI to gather information from the node, in order to help debugging issues with Kata Containers. As one can imagine, this can be expanded and used outside of the CI context, and any contribution back to the script is very much welcome. The resulting container is stored at the [Kata Containers quay.io space](https://quay.io/repository/kata-containers/kata-debug) and can be used as shown below: ```sh kubectl debug $NODE_NAME -it --image=quay.io/kata-containers/kata-debug:latest ``` Fixes: #7397 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
17 lines
286 B
Docker
17 lines
286 B
Docker
# Copyright (c) 2023 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
FROM ubuntu:22.04
|
|
|
|
COPY debug.sh /usr/bin/debug.sh
|
|
|
|
RUN \
|
|
apt-get update && \
|
|
apt-get install -y --no-install-recommends tree && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/
|
|
|
|
CMD ["/usr/bin/debug.sh"]
|