Skip to content

Docker Confluence

guertlms edited this page Mar 6, 2020 · 1 revision

The prefered docker image for Confluence is from dockerhub.

It is installed via docker pull atlassian/confluence-server (copy past e.g. in a Windows Powershell etc.)

Quick start:

docker run -v /data/your-confluence-home:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server

After a while (some minutes) you can access confluence via http://localhost:8090

Again, you need an account/license key (Trial License includes 30 days support, but still should be usable afterwards) and they suggest to set up a database, because a "build in DB" is only enough to test/evaluate it, not to use it in production.

It is possible to use the same licences multiple times (if you save the key, or the credentials for the account you registered confluence), the only thing I noticed was, that if you set up confluence again, it is needed either to remove the old container or create a new one with a different name. (e.g. adding a 1 or something to name="confluence" is enough)

Due to the fact that we just use confluence for testing reasons and the set up of a database is too cumbersome, we concluded it is enough to use confluence with a build-in database.

If you decided to use your own DB anyway see: (possible with MySQL or postgreSQL, Oracle12 or Microsoft SQL Server | Postgre and Microsoft SQL seem to be the easiest options for windows)

Tested with postgreSQL, also a docker container, manual for installing (further notes)

Known Issues

  • If after restarting the container does not come up again try http://localhost:8090/confluence

  • If docker does not start and refers to error 500 respectively "driver failed programming external connectivity on endpoint confluence" than a simple restart could help…​

  • Use docker container ls -a to show all created containers and their status, with docker container restart and the added container name, you are able to restart them.

Setup User

Use admin as username and password. This is only a test system, do not expose the confluence to the internet.

Test Data

You can create a page with test data by copying the rendered markdown files. Confluence automatically convert the format to tables and lists.