teamatldocker / jira

Dockerized Atlassian Jira
https://hub.docker.com/r/teamatldocker/jira/
MIT License
437 stars 223 forks source link

Become root? / Sudo su? / Add certificates to trust store #147

Closed d2a-raudenaerde closed 3 years ago

d2a-raudenaerde commented 3 years ago

Hi,

I'm running the docker image through docker compose and almost everything is running fine!

However, I want to use application links (to a local fisheye instance) that needs a self signed root CA certificate in the truststore of the image.

I could not find a way to add this; probably the easiest way is to allow becoming root in the image.

However, when trying:

docker exec -it --user root jira_jira_1 /bin/bash I get this error:

OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "chdir to cwd (\"/var/atlassian/jira\") set in config.json failed: permission denied": unknown

What would be the correct way to fix this?