Docker : How to avoid Operation not permitted in Docker Container?
<p>I created one docker image of sles12 machine by taking backing of all file system which are necessary and created one tar file. For creating docker image I run following command - </p>

<pre><code>cat fullbackup.tar | docker import - sles_image
</code></pre>

<p>After that I run docker image in container using below command - </p>

<pre><code>docker run --net network1 -i -t sles_image /bin/bash
</code></pre>

<p>note - I already set up networking in this docker container (IP address which I want).</p>

<p>Now In my docker container, some applications are already configured because that applications are available in sles12 machine from which I created this docker image. These custom applications are internally running some kernel low level commands like <a href="https://en.wikipedia.org/wiki/Modprobe" rel="noreferrer">modprobe</a>. </p>

<p>But when I starts my application, application will start correctly. I'm facing this error - </p>

<blockquote>
  <p>Operation not permitted</p>
</blockquote>

<p>How I can give correct permissions so that it will not give me this error?</p>