docker run 搭建gitlab报错

来源:1-24 docker run搭建gitlab平台

丛从绿草

2019-12-02 23:41:17

sudo docker run --detach \

  --hostname 192.168.235.131 \

  --publish 13800:80 --publish 13822:22 \

  --name gitlab_test \

  --restart always \

  gitlab/gitlab-ce:latest

我在linux 复制这段 ,然后就报错,不知道是哪个环节搞错了?  老师,您能不能帮助我下。

报错如下:

docker: Error response from daemon: Get https://registry-1.docker.io/v2/gitlab/gitlab-ce/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Agitlab%2Fgitlab-ce%3Apull&service=registry.docker.io: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).

See 'docker run --help'.

写回答

1回答

Brian

2019-12-03

请使用Q群中的关于docker加速的资料,使用阿里云的docker加速。


timeout一般是网络问题~~

0

0 学习 · 1842 问题

查看课程