This is a Docker image for the Java application server WildFly. The image is based on Debian and comes with OpenJDK 17. The Dockerfile has been inspired by this image.
27.0.0.Final(Dockerfile),latest-final,latest26.0.1.Final(Dockerfile)20.0.1.Final(Dockerfile)15.0.0.Final(Dockerfile)14.0.1.Final(Dockerfile)14.0.0.Final(Dockerfile)13.0.0.Final(Dockerfile)10.1.0.Final(Dockerfile)10.1.0.CR1(Dockerfile)10.0.0.Final(Dockerfile)10.0.0.CR5(Dockerfile)10.0.0.CR4(Dockerfile)10.0.0.CR2(Dockerfile)10.0.0.CR1(Dockerfile)10.0.0.Beta2(Dockerfile)10.0.0.Beta1(Dockerfile)9.0.1.Final(Dockerfile)9.0.0.Final(Dockerfile)9.0.0.CR2(Dockerfile)9.0.0.CR1(Dockerfile)9.0.0.Beta2(Dockerfile)8.2(Dockerfile)
- runs in standalone mode
- binds to all interfaces
- creates an
adminuser on first usage - installation path:
/opt/wildfly - linux user:
wildfly
- Install Docker
Follow the installation instructions for your host system.
- Run the image
docker container run --name="wf" -d -p 8080:8080 -p 9990:9990 -e WILDFLY_PASS="a_password" piegsaj/wildflyor
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- Access WildFly
- via
http://<host-ip>:8080/andhttp://<host-ip>:9990/
- 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-onlymode:docker container exec wf touch /opt/wildfly/ADMIN_ONLY_MODE && docker container restart wf
The source is available on GitHub. Please report any issues.