Hello together,
in following, I refer to Proxying RHEL Yum Repositories .
A few days ago, I moved our Nexus Repository Manager from a local install, to a docker install as container.
To ensure, our RHEL servers can get this software packages by the Nexus Repository Manager, I followed the Doku, I printed at the beginn. And while the Nexus Repository Manager run as local install, it also workd very well. After I moved to a docker install, it dont.
nexus:
image: sonatype/nexus3
volumes:
- ./rundir:/nexus-data:rw
- ./nexus.vmoptions:/opt/sonatype/nexus/bin/nexus.vmoptions:ro
- ./keystore.yum.p12:/opt/keystore.yum.p12:ro
restart: always
-Djavax.net.ssl.keyStore=/opt/keystore.yum.p12
-Djavax.net.ssl.keyStorePassword=iKeepMySecreats
The keystoreFile is mounted as /opt/keystore.yum.p12. The nexusVmoptions mounted in ($app-dir/bin/nexus.vmoptions) /opt/sonatype/nexus/bin/nexus.vmoptions. Both got the premissions owner id 200:200 (nexus), premissions 0400 and 0466.
Inside the container the look like following:
![]()
Have someone got this problem once and know how to solve?
Best regards
Christopher Hofmann