I am running Artifactory V7.71.5 in a Docker container. I am trying to reset my password and am having difficulty doing so.
I have found many variations of ways to reset the password for At=rtifactory on the Internet, but all of the instructions are geared toward Ubuntu or AWS EKS installations. No one (not even the JFrog folks!) seems to provide reset instructions for doing a reset on a Docker installation.
I have tried using docker exec and following some of the instructions I found, but most of those are for earlier versions of Artifactory and the files and directories in the container are different from the ones described in the instructions!
Can someone provide or point me to instructions for resetting an admin password on an up- to- date Docker installation of Artifactory???
You can reset the admin user credentials (or create a new admin user) by following the below steps:
echo "newadmin@*=password" > /var/opt/jfrog/artifactory/etc/access/bootstrap.creds
(just change the username and password)chmod 600 /var/opt/jfrog/artifactory/etc/access/bootstrap.creds
chown 1030:1030 /var/opt/jfrog/artifactory/etc/access/bootstrap.creds
There is additional information on this process in this KB.