Dockerfile to build a Openfire XMPP server.
Current Version: 3.9.3
Pull the latest version of the image from the docker index. This is the recommended method of installation as it is easier to update image in the future. These builds are performed by the Docker Trusted Build service.
docker pull sameersbn/openfire:latest
You can also pull a particular version of openfire by specifying the version. For example,
docker pull sameersbn/openfire:3.9.3
Alternately you can build the image yourself.
git clone https://github.com/sameersbn/docker-openfire.git
cd docker-openfire
docker build --tag="$USER/openfire" .
Run the openfire image
docker run --name='openfire' -i -t --rm \
-p 127.0.0.1:9090:9090 -p 127.0.0.1:5222:5222 -p 127.0.0.1:7777:7777 \
sameersbn/openfire:3.9.3
Point your browser to http://localhost:9090 and follow the setup procedure to complete the installation.
The following video by HAKK5 will help you with the configuration and give you an introduction to openfire and some of its features.
The openfire image is configured to save all configurations and installed plugins at /data. As such we should mount a volume at /data
Volumes can be mounted in docker by specifying the '-v' option in the docker run command.
mkdir /opt/openfire
docker run --name=openfire -d \
-v /opt/openfire:/data \
sameersbn/openfire:3.9.3
To upgrade to newer releases, simply follow this 3 step upgrade procedure.
docker stop openfire
docker pull sameersbn/openfire:latest
docker run -name openfire -d [OPTIONS] sameersbn/openfire:latest
Content type
Image
Digest
sha256:1b06f6246…
Size
208.2 MB
Last updated
over 11 years ago
docker pull combro2k/openfire