马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
x
- podman volume create --label type=gitlab-17.2 --label env=dev gitlab-17.2-conf
- podman volume create --label type=gitlab-17.2 --label env=dev gitlab-17.2-data
- podman volume create --label type=gitlab-17.2 --label env=dev gitlab-17.2-logs
复制代码
- podman run --detach \
- --hostname 192.168.110.43 \
- --publish 18000:80 --publish 10022:22 \
- --name gitlab-17 \
- --restart always \
- --volume gitlab-17.2-conf:/etc/gitlab \
- --volume gitlab-17.2-data:/var/log/gitlab \
- --volume gitlab-17.2-logs:/var/opt/gitlab \
- gitlab/gitlab-ce:17.2.4-ce.0
复制代码- ylzx@scyl043:~$ podman exec -it gitlab-17 /bin/bash
- root@git:/# cat /etc/gitlab/initial_root_password
- # WARNING: This value is valid only in the following conditions
- # 1. If provided manually (either via `GITLAB_ROOT_PASSWORD` environment variable or via `gitlab_rails['initial_root_password']` setting in `gitlab.rb`, it was provided before database was seeded for the first time (usually, the first reconfigure run).
- # 2. Password hasn't been changed manually, either via UI or via command line.
- #
- # If the password shown here doesn't work, you must reset the admin password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.
- Password: lbdD4GYiv0oO+5MfhPo3RnX+2Trn6sOLzOycuMf01pI=
- # NOTE: This file will be automatically deleted in the first reconfigure run after 24 hours.
- root@git:/# exit
- exit
- ylzx@scyl043:~$
复制代码 参数文献
- docker安装gitlab-ce社区版和gitlab-ee企业版
- How to Deploy GitLab Server Using Docker and Ubuntu
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |