Public | Automated Build

Last pushed: 2 years ago
Short Description
Confluence in a Docker
Full Description

Confluence in Docker

Docker image with Atlassian Confluence build in docker. Integrated with MySQL support. Base image is million12/centos-supervisor which is based on offcial CentOS-7 image.

User will need a licence to be able to finish setup. Either evaluation one or full.

This image can be run just by itself but then it will have support only for Confluence build-in database HSQL or PostgreSQL.

Basic Usage

docker run \
-d \
--name confluence \
-p 8090:8090 \


Access setup page under docker.ip:8090 and follow installation procedure.
Atlassian Confluence licence is required to finish installation.


This image comes with few environmental variables that will be needed to connect it to MYSQL or PostgreSQL container.

DB_SUPPORT - select mysql support.
DB_ADDRESS - Database address (ip or format).
DB_NAME - database name.

PostgreSQL Docker image

docker run \
-d \
--name confluence-db \
-e POSTGRES_PASSWORD=mysecretpassword \
-e POSTGRES_USER=admin \
-e POSTGRES_DB=confluencedb \

Data container

docker run -d \
  --name confluence-data \
  -v /data/confluence/confluence-install:/opt/atlassian \
  -v /data/confluence/confluence-data:/var/atlassian \

Confluence container

docker run -d \
  --name confluence \
  --link confluence-db:confluence.db \
  --volumes-from confluence-data \
  -e DB_ADDRESS=confluence.db \
  -e DB_NAME=confluencedb \
  -p 80:8090 \

Docker troubleshooting

Use docker command to see if all required containers are up and running:

$ docker ps -a

Check online logs of confluence container:

$ docker logs confluence

Attach to running confluence container (to detach the tty without exiting the shell,
use the escape sequence Ctrl+p + Ctrl+q):

$ docker attach confluence

Sometimes you might just want to review how things are deployed inside a running container, you can do this by executing a bash shell through docker's exec command:

docker exec -i -t confluence /bin/bash

History of an image and size of layers:

docker history --no-trunc=true million12/confluence | tr -s ' ' | tail -n+2 | awk -F " ago " '{print $2}'


Author: Przemyslaw Ozgo

Licensed under: The MIT License (MIT)

Sponsored by - the new prototyping tool
for building fully interactive prototypes of your website or web app. Built on top of
Neos CMS and Zurb Foundation framework.

Docker Pull Command
Source Repository