1、Cannot connect to the Docker daemon. Is ‘docker -d’ running on this host?
执行:
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
yum install device-mapper-event-libs
2、Get https://index.docker.io/v1/search?q=ubuntu: dial tcp: lookup index.docker.io: no such host
修改/etc/sysconfig/Docker
HTTP_PROXY=http://186.100.4.107:808
http_proxy=
HTTPPROXYHTTPSPROXY=
HTTP_PROXY
https_proxy=$HTTP_PROXY
export HTTP_PROXY HTTPS_PROXY http_proxy https_proxy
也可以Clone刚才的提到的仓库,然后在本机上build镜像:
Git clone https://github.com/sameersbn/docker-gitlab.git
cd docker-gitlab
docker build –tag=”$USER/gitlab” .
注意上面最后一行命令结尾有一个”.”符号,不要掉了。
3、docker sameersbn/gitlab 参考文档
sameersbn/gitlab:8.2.3
Introduction
Changelog
Contributing
Issues
Announcements
Prerequisites
Installation
Quick Start
Configuration
Data Store
Database
PostgreSQL (Recommended)
External PostgreSQL Server
Linking to PostgreSQL Container
MySQL
Internal MySQL Server
External MySQL Server
Linking to MySQL Container
Redis
Internal Redis Server
External Redis Server
Linking to Redis Container
Mail
Reply by email
SSL
Generation of Self Signed Certificates
Strengthening the server security
Installation of the SSL Certificates
Enabling HTTPS support
Configuring HSTS
Using HTTPS with a load balancer
Establishing trust with your server
Installing Trusted SSL Server Certificates
Deploy to a subdirectory (relative url root)
OmniAuth Integration
Google
Twitter
GitHub
GitLab
BitBucket
SAML
Crowd
External Issue Trackers
Mapping host user and group
Piwik
Available Configuration Parameters
Maintenance
Creating Backups
Restoring Backups
Automated Backups
Amazon Web Services (AWS) Remote Backups
Rake Tasks
Upgrading
Shell Access
References
Introduction
Dockerfile to build a GitLab container image.
Contributing
If you find this image useful here’s how you can help:
Send a Pull Request with your awesome new features and bug fixes
Help new users with Issues they may encounter
Support the development of this image with a donation
Issues