我正在尝试创建仅包含admininstator的gerrit实例的docker镜像。
创建gerrit实例没有问题,但是我无法创建admin用户。
您有创建这个第一个用户的想法吗?
最佳答案
The first user to sign-in and register an account will be automatically placed into the fully privileged Administrators group, permitting server management over the web and over SSH.
Subsequent users will be automatically registered as unprivileged users.
因此,根据您的authentication method,只需与用户登录即可。
关于docker - Docker的第一个用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37239998/