1. download docker
$ sudo apt-get update
$ sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
$ echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
$ docker --version
2. download jira
$ docker pull cptactionhank/atlassian-jira-software:latest
$ sudo docker create --restart=no --name "jira-container" \
--publish "8080:8080" \
--volume "hostpath:/var/atlassian/jira" \
--env "CATALINA_OPTS=-Xms1024m -Xmx2048m -Datlassian.plugins.enable.wait=300" \
cptactionhank/atlassian-jira-software:latest
$ sudo docker ps -a
$ sudo docker start --attach "jira-container"
3. 호스트 IP에 8080번 포트로 접속