FROM alpine
RUN apk add --no-cache -qq libcap-ng-utils
USER 0
/ # pscap -a ppid pid name command capabilities 0 1 root sh chown, dac_override, fowner, fsetid, kill, setgid, setuid, setpcap, net_bind_service, net_raw, sys_chroot, mknod, audit_write, setfcap
cat /proc/self/status
capsh --decode="00000000a004251b"
apiVersion: v1
kind: Pod
metadata:
name: busybox
namespace: default
spec:
containers:
- image: busybox
command:
- sleep
- "3600"
imagePullPolicy: IfNotPresent
name: busybox
restartPolicy: Always
Content type
Image
Digest
Size
2 MB
Last updated
over 8 years ago
docker pull scheng1/alpine-root