README: updated command to get the root password

This commit is contained in:
Sameer Naik 2014-03-07 09:13:28 +05:30
parent c360767a7f
commit e19ff2bf32

View File

@ -300,7 +300,7 @@ There are two methods to gain root login to the container, the first method is t
The second method is use the dynamically generated password. Every time the container is started a random password is generated using the pwgen tool and assigned to the root user. This password can be fetched from the docker logs.
```bash
docker logs gitlab 2>&1 | head -n1
docker logs gitlab 2>&1 | grep '^User: ' | tail -n1
```
This password is not persistent and changes every time the image is executed.