I need bee -privileged to run a specific command in a Docker file, but I cannot find a way to tell docker for this.
Team RUN echo core > /proc/sys/kernel/core_pattern
If I put this in a Dockerfile, the build process will fail.
If I run Dockerfile with the specified line, but with the flag --privileged, then I can execute the command inside the container well.
Is there any solution to make everything work from a Docker file?
thank
source
share