sonatype / docker-nexus

Docker image for Sonatype Nexus
Other
383 stars 201 forks source link

Administrator password #91

Closed pmury closed 5 years ago

pmury commented 5 years ago

How to set admin password for the Docker distribution, or is there a default one?

pmury commented 5 years ago

Following from the docs, admin/admin123. https://help.sonatype.com/repomanager3/installation/accessing-the-user-interface

djafaka commented 4 years ago

To change for the first time the admin password follow the following steps (docker version only) Go to the Nexus container instance for example 91aefe723146 make a docker exec -it 91aefe723146 /bin/bash Go to /nexus-data get the password content of the file admin.password log again to the admin console and put the password and reinit your password. Done !

ainfosecchimp commented 3 years ago

bash-4.4$ cd nexus-data/ bash-4.4$ ls etc log tmp

:(

no file for me

MParvin commented 1 year ago

It's worked for me: user: admin password: admin123