setting up wildfly on docker with ubuntu base image

253 views
Skip to first unread message

edw

unread,
Feb 6, 2022, 9:28:28 PM2/6/22
to WildFly
Hi All,
I want to install and bring up wildfly server   with docker file. I am not going to use the ready made  jboss/wildfly image due to some security restriction. I am going to use docker file with ubuntu base image instead.

Here is my dockerfile 

FROM ubuntu-18.04

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get -y update && apt-get -y upgrade

RUN apt-get -y install openjdk-8-jdk wget

RUN mkdir /usr/local/wildfly

RUN wget https://download.jboss.org/wildfly/23.0.2.Final/wildfly-23.0.2.Final.tar.gz -O /tmp/wildfly.tar.gz --no-check-certificate

RUN cd /tmp && tar xvfz wildfly.tar.gz

RUN cp -Rv /tmp/wildfly-23.0.2.Final/* /usr/local/wildfly/

RUN chmod -R 755 /usr/local/wildfly

ENV LAUNCH_JBOSS_IN_BACKGROUND true

EXPOSE 8080

CMD ["/usr/local/wildfly/bin/standalone.sh", "-b", "0.0.0.0","-bmanagement", "0.0.0.0"]
The below are my Questions
1 how do I pass the login information for  wildfly management console?
2 Any guidance in making this docker file work, because i can get wildfly on localhost:8080 but I can not get the management console 


if I press the managment console its showing site cant be reached.
Screen Shot 2022-02-04 at 3.42.07 PM.png

edw

unread,
Feb 7, 2022, 4:16:50 PM2/7/22
to WildFly
can someone look into the above issue?
Reply all
Reply to author
Forward
0 new messages