Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The **SoS Plugin** is a command-line diagnostic utility designed to orchestrate

* **Interactive Shell**
* Attach a remote debugger to a running pod and have full access to the debugger console.
* The standard SoS image includes `ss` for socket state, `ip` for interfaces and routes, and `tcpdump` for packet capture. Live packet capture requires `NET_RAW`; installing the tools does not change the debug container's security profile.

* **Advanced Kubernetes Orchestration**
* **Zero-Impact Debugging:** Leverages `kubectl debug` to attach ephemeral debugger containers using shared process namespaces, ensuring the target application is never restarted or mutated.
Expand Down
4 changes: 2 additions & 2 deletions src/sidecar/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:24.04 AS sos

RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates apt-transport-https curl && \
apt-get install -y --no-install-recommends ca-certificates apt-transport-https curl iproute2 tcpdump && \
sed -i.bak 's|http://|https://|g' /etc/apt/sources.list.d/ubuntu.sources && \
rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -32,4 +32,4 @@ RUN apt-get install -y dotnet-sdk-$DOTNET_SDK && \
ENV PATH=$PATH:$DOTNET_TOOLS_PATH

# Run as root by default
USER 0
USER 0
4 changes: 2 additions & 2 deletions src/sidecar/ubi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/ubi:latest
FROM docker.io/redhat/ubi8:latest

RUN yum install -y procps-ng curl bash tar gzip libicu

Expand Down Expand Up @@ -57,4 +57,4 @@ RUN { \
echo '# 3. Launch vsdbg'; \
echo 'exec /vsdbg/vsdbg "$@"'; \
} > /vsdbg/wrapper.sh && \
chmod +x /vsdbg/wrapper.sh
chmod +x /vsdbg/wrapper.sh
Loading