title: Permission to war file in jboss wildfly docker container
body: <p>I am using CentOS 7 . I have pull the image from docker hub</p>
  
  <pre><code>https://hub.docker.com/r/jboss/wildfly/
  </code></pre>
  
  <p>and take war from the </p>
  
  <pre><code>https://github.com/arun-gupta/docker-for-java/tree/master/chapter2
  </code></pre>
  
  <p>the run the following command</p>
  
  <pre><code>docker run -it --name=wf -p 8080:8080 -v /home/admin/webapp.war:/opt/jboss/wildfly/standalone/deployments/webapp.war jboss/wildfly
  </code></pre>
  
  <p>it giving me permission denied on webapp.war</p>
  
  <pre><code>ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0008: Failed checking whether /opt/jboss/wildfly/standalone/deployments/webapp.war was a complete zip: java.io.FileNotFoundException: /opt/jboss/wildfly/standalone/deployments/webapp.war (Permission denied)
  </code></pre>
  
  <p>How can I give permission to wepapp.war file without any changes made in dockerfile?</p>