Skip to content

Instantly share code, notes, and snippets.

View clrxbl's full-sized avatar
:shipit:

Michael clrxbl

:shipit:
View GitHub Profile
2023-07-05T07:37:58.670132Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "socket"
2023-07-05T07:37:58.670345Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "recvfrom"
2023-07-05T07:37:58.670407Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "sendto"
2023-07-05T07:37:58.670465Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "bind"
2023-07-05T07:37:58.670523Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "listen"
2023-07-05T07:37:58.670582Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "connect"
2023-07-05T07:37:58.670728Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "fcntl"
2023-07-05T07:37:58.670789Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "dup"
2023-07-05T07:37:58.670852Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "dup2"
2023-07-05T07:37:58.670909Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "getpeername"
@clrxbl
clrxbl / java.sh
Last active April 28, 2024 13:22
java shim
#!/bin/bash
# java shim to execute anything java within a distroless, rootless container
# designed for podman 4, breaks with podman 3 because of different --pull syntax
# https://iptables.sh
set -euo pipefail
IMAGE="gcr.io/distroless/java21:nonroot"
# check for podman