cavemandaveman / nexus Goto Github PK
View Code? Open in Web Editor NEWSonatype Nexus container
License: Apache License 2.0
Sonatype Nexus container
License: Apache License 2.0
Could you add a docker-compose file so one could do a simple docker-compose up
I've generated my keystore:
keytool -genkey -noprompt \
-keyalg RSA \
-keysize 2048 \
-validity 365 \
-alias nexus \
-dname 'CN=Patrick Crocker, OU=IT, O=Somewhere, L=Dallas, ST=TX, C=US' \
-keystore keystore.jks \
-storepass changeit \
-keypass changeit
And then launched the image:
docker run -d --name nexus \
-p 8443:8443 \
-v $PWD/keystore.jks:/nexus-data/keystore.jks \
-e JKS_PASSWORD="changeit" \
clearent/nexus
I can connect via non-ssl:
curl http://192.168.99.100:8081 -I
HTTP/1.1 200 OK
...
But ssl fails:
curl https://192.168.99.100:8443 -I
curl: (7) Failed to connect to 192.168.99.100 port 8443: Connection refused
If I connect to the running instance (and install curl) I get the same results. What is interesting is that I can connect to localhost via ssl:
curl https://127.0.0.1:8443 -I -k
HTTP/1.1 200 OK
...
Any ideas?
Hi,
I also build a nexus container using alpine 3.4. It run's fine.
Your setup also looks very nice.
Now I am trying to update to alpine linux 3.5. But now there seems to be an ssl issue.
Do You have experience with alpine 3.5 and nexus ??
Regards,
Hans Nieuwenhuis
can you bump to the latest version?
Thanks.
Hi,
You image is great but from my point of view it's missing a EXPOSE 5000 for example.
When you use it with a docker registry, you need an extra port to connect to it.
Could you just add one and update the docs according to this issue?
Thank you
I'm trying to figure out why this is happening but I haven't tried to use Docker before so there might be something obvious I'm overlooking. I'm on an Amazon t2.small instance.
Steps to reproduce:
docker stop nexus
docker start nexus
docker logs -f nexus
Error occurred shutting down framework: java.lang.IllegalArgumentException: Invalid karaf.home system property '/opt/nexus-3.0.1-01opt/nexus-3.0.1-01' : does not existjava.lang.IllegalArgumentException: Invalid karaf.home system property '/opt/nexus-3.0.1-01opt/nexus-3.0.1-01' : does not exist
at org.apache.karaf.main.util.Utils.validateDirectoryExists(Utils.java:86)
at org.apache.karaf.main.util.Utils.getKarafHome(Utils.java:37)
at org.apache.karaf.main.ConfigProperties.<init>(ConfigProperties.java:182)
at org.apache.karaf.main.Main.updateInstancePidAfterShutdown(Main.java:224)
at org.sonatype.nexus.karaf.NexusMain.main(NexusMain.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:63)
If you have large storage in nexus this chown can take a very long time.
This also becomes an issue with livenessProbes/readinessProbes in kubernetes
Wondering if there is some way around this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.