AHmedRef
AHmedRef

Reputation: 2611

Rancher: rancher app requires username and password

i installed rancher v0.4.2 container using Docker application, every thing is fine, but when im triyin to get access to rancher UI, i got popup that requires username and password, is there any default username/password to get access ?

Docker run command :

sudo docker run -d --restart=always -e CATTLE_DB_CATTLE_MYSQL_HOST=****.*****.eu-west-1.rds.amazonaws.com -e CATTLE_DB_CATTLE_MYSQL_PORT=3306 -e CATTLE_DB_CATTLE_MYSQL_NAME=cattle -e CATTLE_DB_CATTLE_USERNAME=**** -e CATTLE_DB_CATTLE_PASSWORD=**** -p 8080:8080 rancher/server:0.4.2

Upvotes: 0

Views: 5778

Answers (2)

Nandan Bharadwaj
Nandan Bharadwaj

Reputation: 560

Run the below command, docker exec -ti [CONTAINER ID / CONTAINER NAME] reset-password

You will get a new password for the "admin" user.

Upvotes: 3

Vincent Fiduccia
Vincent Fiduccia

Reputation: 999

v0.4.2 is not the version you want. It's ridiculously old (Jan 12, 2015) and possibly before we had even announced the company and project exist.

Upvotes: 2

Related Questions