Skip to content

Instantly share code, notes, and snippets.

@v-thomp4
Last active November 24, 2015 08:26
Show Gist options
  • Save v-thomp4/1b039dc6a707e01e85ff to your computer and use it in GitHub Desktop.
Save v-thomp4/1b039dc6a707e01e85ff to your computer and use it in GitHub Desktop.
jboss/wildfly dockerfile

Dockerfile

FROM jboss/wildfly
RUN /opt/jboss/wildfly/bin/add-user.sh admin Admin#70365 --silent
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-c", "standalone-full.xml", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0"]]

Build

docker build --tag=jboss/wildfly-admin .

Run

docker run -it -d -p 8080:8080 -p 9990:9990 jboss/wildfly-admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment