# demo **Repository Path**: Aurorxa/demo ## Basic Information - **Project Name**: demo - **Description**: 测试项目,测试项目,测试项目,测试项目,测试项目,测试项目,测试项目,测试项目, - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-25 - **Last Updated**: 2023-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 安装 Jenkins ```shell # 端口是 8080 docker run \ -u root \ --name=jenkins \ -d \ -p 8080:8080 \ -p 50000:50000 \ -v jenkins-data:/var/jenkins_home \ -v /etc/localtime:/etc/localtime:ro \ -v /var/run/docker.sock:/var/run/docker.sock \ --restart=always \ jenkinsci/blueocean ``` # 安装 Gitlab ```shell sudo docker run --detach \ --hostname 127.0.0.1 \ --publish 443:443 --publish 80:80 --publish 22:22 \ --name gitlab \ --restart always \ --volume /var/gitlab/config:/etc/gitlab \ --volume /var/gitlab/logs:/var/log/gitlab \ --volume /var/gitlab/data:/var/opt/gitlab \ --shm-size 256m \ registry.gitlab.cn/omnibus/gitlab-jh:latest ``` ```shell sudo docker exec -it gitlab grep 'Password:' /etc/gitlab/initial_root_password ```