Coder Social home page Coder Social logo

nexus's People

Contributors

cavemandaveman avatar ironsalsa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nexus's Issues

Can't connect to nexus via ssl

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?

Question

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

Need extra expose PORT

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

Cannot restart the container because executable path gets concatenated to itself

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:

  • install container (it runs fine; able to access web interface)
  • run docker stop nexus
  • run docker start nexus
  • Process doesn't restart. Following error message shows up in logs. 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)

chown /nexus-data can take a long time

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.