Cannot Running DHIS2 on Docker Container (v2.36)

Anyone can help ?
I can running DHIS2 on docker container with “dhis2/core:2.36.4-embargoed-tomcat-9.0.27-jdk11-openjdk-slim” image. When I see the logs look like “main ERROR Unable to create file dhis.log java.io.IOException: Permission denied”

Hi @Kusuma_Ningrat,

Welcome back to the community! (:

Please what operating system are you using? And what is the architecture of you device? For example, other users who have Big Sur M1 Mac have faced this issue: Docker on macOS Big Sur - #3 by Michael_Mwebaze

Is there a reason why you’re using specifically that image? Why not try one of the latest images for version 2.36 here https://hub.docker.com/r/dhis2/core/tags?page=1&ordering=last_updated&name=2.36?

Please add the log (without the sensitive info) if you face any new issue. I hope you add as much necessary info for the experts to know exactly what is causing the error.

Thank you !

Hello @Gassim

Thank you for your time to reply.

Here is my operating system details.
error

Actually I have tried the latest version also, but still got that error.
Here is my error

Hello @Kusuma_Ningrat,

Could you please share some details about how you’re actually running the application?

Depending on your use case the DHIS2 CLI might be of assistance.

Best regards,
Andreas

1 Like