Permission problem with zanata-docker-files/runapp.sh on Docker 17

Description

I am trying to run Zanata from Docker using

https://github.com/zanata/zanata-docker-files/tree/master/zanata-server


docker version
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:06:25 2017
OS/Arch: linux/amd64

Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:06:25 2017
OS/Arch: linux/amd64
Experimental: false
ajung@dev.zopyx.com:~/src/zanata-docker-files/zanata-server> docker --version
Docker version 17.05.0-ce, build 89658be

ajung@dev.zopyx.com:~/src/zanata-docker-files/zanata-server> cat /etc/system-release
CentOS Linux release 7.3.1611 (Core)

./runapp.sh
Preparing container for Zanata (latest)
zanata-files
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /opt/jboss/wildfly

JAVA: /usr/lib/jvm/java/bin/java

JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

=========================================================================

05:28:39,207 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final
05:28:39,342 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
05:28:39,387 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting
05:28:39,566 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131) [wildfly-controller-2.2.0.Final.jar:2.2.0.Final]
at org.jboss.as.server.ServerService.boot(ServerService.java:357) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299) [wildfly-controller-2.2.0.Final.jar:2.2.0.Final]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_131]
Caused by: java.io.FileNotFoundException: /opt/jboss/wildfly/standalone/configuration/standalone.xml (Permission denied)
at java.io.FileInputStream.open0(Native Method) [rt.jar:1.8.0_131]
at java.io.FileInputStream.open(FileInputStream.java:195) [rt.jar:1.8.0_131]
at java.io.FileInputStream.<init>(FileInputStream.java:138) [rt.jar:1.8.0_131]
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:119) [wildfly-controller-2.2.0.Final.jar:2.2.0.Final]
... 3 more

05:28:39,567 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
05:28:39,576 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) stopped in 5ms

Environment

None

Assignee

Unassigned

Reporter

Andreas Jung

Labels

None

Tested Version/s

None

Components

Priority

unspecified
Configure