Parses Java garbage collection logging and analyzes collectors, safepoint triggers, JVM version, JVM options, and OS information and reports error/warn/info level analysis and recommendations to support JVM tuning and troubleshooting for OpenJDK derivatives: (e.g. Adoptium, Azul, Microsoft, Oracle, Red Hat, etc.).
The container build used to work, but after restarting my system, it's unable to access the files mounted under /home/garbagecat/files/.
I build like this: $ docker build . --file Dockerfile --tag mgm:garbagecat
I run like this: $ docker run -v "$PWD":/home/garbagecat/files:z localhost/mgm:garbagecat -t 20 -p -c /home/garbagecat/files/gc.log > gc.log.cat
gc.log.cat has this: Invalid log file: '/home/garbagecat/files/gc.log.20220705125711'
If I log into the container, it looks like I'm lacking some permissions to access the files.
$ docker run -it -v "$PWD":/home/garbagecat/files:z --entrypoint sh localhost/mgm:garbagecat $ ls -al files ls: cannot access 'files/.': Permission denied ls: cannot access 'files/..': Permission denied ls: cannot access 'files/gc.log': Permission denied ls: cannot access 'files/gc.log.cat': Permission denied total 0 d????????? ? ? ? ? ? . d????????? ? ? ? ? ? .. -????????? ? ? ? ? ? gc.log -????????? ? ? ? ? ? gc.log.cat