docker 部署
mkdir -p /mnt/docker/gitlab/config #作为配置目录
mkdir -p /mnt/docker/gitlab/logs #作为日志目录
mkdir -p /mnt/date/gitlab #作为数据目录
docker run -d \ -p 888:80 \ --name gitlab \ --restart always \ -v /mnt/docker/gitlab/config:/etc/gitlab \ -v /mnt/docker/gitlab/logs:/var/log/gitlab \ -v /mnt/data/gitlab:/var/opt/gitlab \ gitlab/gitlab-ce
标签:logs,部署,mnt,gitlab,mkdir,docker,config From: https://www.cnblogs.com/libruce/p/17137561.html