You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.
Hi, after change the capability, I cannot execute the binary anymore.
It seems that we cannot set the capabiltities lager than the bash and init process of the docker?
Does anything go wrong?
Here is my detailed operations.
Change the capability of the elf for dockerfile:
FROM ubuntu:20.04
RUN mkdir -p /work/
COPY setcap /bin/
COPY getcap /bin/
COPY elf_test /work/
WORKDIR /work/
RUN setcap cap_sys_admin+ep elf_test
Hi, after change the capability, I cannot execute the binary anymore.
It seems that we cannot set the capabiltities lager than the bash and init process of the docker?
Does anything go wrong?
Here is my detailed operations.
Change the capability of the elf for dockerfile:
Run the docker:
The text was updated successfully, but these errors were encountered: