Public | Automated Build

Last pushed: a month ago
Short Description
WildFly 10.0.0.Final on Java 8
Full Description

WildFly 10.1.0.Final on Java 8

This is a Docker image for the Java application server WildFly. The image is based on Ubuntu 16.04 LTS and comes with Java 8. The Dockerfile has been inspired by this image.

Tags

Features

  • runs in standalone mode
  • binds to all interfaces
  • creates an admin user on first usage
  • installation path: /opt/wildfly
  • linux user: wildfly
  1. Install Docker

Follow the installation instructions for your host system.

  1. Run the image

docker container run --name="wf" -d -p 8080:8080 -p 9990:9990 -e WILDFLY_PASS="a_password" piegsaj/wildfly

or

mkdir /opt/wildfly-deployments
chmod 777 /opt/wildfly-deployments
sudo docker container run --name="wf" -d -p 8080:8080 -p 9990:9990 -e WILDFLY_PASS="a_password" -v /opt/wildfly-deployments:/opt/wildfly/standalone/deployments/:rw piegsaj/wildfly
  1. Access WildFly

  • via http://<host-ip>:8080/ and http://<host-ip>:9990/

Administration

  • follow the server log: docker logs -f wf
  • stop and remove the Docker container: docker container stop wf && docker container rm wf
  • access the shell: docker container exec -it wf /bin/bash
  • access CLI: docker container exec -it wf /opt/wildfly/bin/jboss-cli.sh -c -u=admin -p=a_password
  • run once in --admin-only mode: docker container exec wf touch /opt/wildfly/ADMIN_ONLY_MODE && docker container restart wf

Contribute

The source is available on Github. Please report any issues.

Docker Pull Command
Owner
piegsaj
Source Repository