Debian only had version 0.8.0 in the Wheezy repository. Version 1.0.6 is available in the Jessie repository.

Add the following to /var/lib/lxc/<container>/config: = veth = up = br0 = 00:FF:AA:00:00:01
cp atlassian-jira-<version>-<arch>.bin /var/lib/<container>/rootfs/root/
lxc-start -n <container> -d
lxc-console -n <container>

Note that aptitude is not installed.

apt-get install iputils-ping
chmod +x atlassian-jira-*.bin

Follow the command-line installation prompts.

Connect Jira to PostgreSQL:

$ apt-get install postgresql
$ su - postgres
$ psql template1
> create user jiradbuser with password '<password>';
> create database jiradb;
> grant all privileges on database jiradb to jiradbuser;

Enter the necessary information into the appropriate page during the web based installation process.

Connect to Jira behind a firewall

Rather than expose Jira to the Internet I setup a Firefox profile and used a SSH SOCKS tunnel (see Use Firefox profiles to switch proxy settings).