disable SELinux labeling
otherwise stap is not able to load kernel modules https://lists.projectatomic.io/projectatomic-archives/atomic-devel/2017-October/msg00034.html Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
This commit is contained in:
parent
dbd996def3
commit
a8a59cacb4
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ LABEL com.redhat.component="$NAME" \
|
|||
version="$VERSION" \
|
||||
release="$RELEASE.$DISTTAG" \
|
||||
architecture="$ARCH" \
|
||||
run="docker run --cap-add SYS_MODULE -v /sys/kernel/debug:/sys/kernel/debug -v /usr/src/kernels:/usr/src/kernels -v /usr/lib/modules/:/usr/lib/modules/ -v /usr/lib/debug:/usr/lib/debug -t -i --name NAME IMAGE" \
|
||||
run="docker run --security-opt label:disable --cap-add SYS_MODULE -v /sys/kernel/debug:/sys/kernel/debug -v /usr/src/kernels:/usr/src/kernels -v /usr/lib/modules/:/usr/lib/modules/ -v /usr/lib/debug:/usr/lib/debug -t -i --name NAME IMAGE" \
|
||||
summary="programmable system-wide instrumentation system"
|
||||
|
||||
RUN dnf install -y systemtap-testsuite systemtap systemtap-client && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue