docker-gitlab 项目名称变成容器ID

处理:在运行的时候指定--hostname 

docker run --detach --hostname git.imebo.com --publish 8888:80 --publish 10443:443 --publish 10022:22 --name gitlab_web --restart always --volume /home/gitlab/config:/etc/gitlab --volume /home/gitlab/logs:/var/log/gitlab --volume /home/gitlab/data:/var/opt/gitlab docker.io/twang2218/gitlab-ce-zh

原文地址:https://www.cnblogs.com/zhink/p/10155701.html