相关疑难解决方法(0)

如何让Docker在公司防火墙后面的Windows系统上运行?

我正在尝试按照本教程安装一个有效的docker-installation:http: //docs.docker.io/en/latest/installation/windows/

到目前为止,我使用手动下载的存储库运行VM(遵循github-link并下载为zip,因为"git clone"在我的公司代理后面没有工作,即使在使用"git conf --global http"设置代理之后也是如此.proxy ..." - 它一直要求我进行身份验证407,尽管我输入了我的用户和PW).现在我处于我应该使用"docker run busybox echo hello world"的状态("运行Docker"部分).当我这样做时,我首先得知没有安装docker(如教程底部所示),然后,在我用apt-get install docker获取它后,我得到"Segmentation Fault或遇到的严重错误.核心和流产."

现在做什么?这是因为我没有使用git clone或者docker安装有问题吗?我在某处读到,apt-get install docker没有安装我想要的docker,但是有些GNOME-Tool,我可以指定我的apt-request来获得正确的工具吗?

windows git proxy docker

21
推荐指数
1
解决办法
2万
查看次数

准备失败:无法连接到 unix:///var/run/docker.sock 上的 Docker 守护进程

我启动了一个docker容器gitlab-ci-runner,然后使用docker作为执行器注册了一个runner,使用node:latest作为docker镜像。但是当我向 gitlab 推送提交时?我收到了这个错误:

Running with gitlab-runner 11.3.1 (0aa5179e)
  on docker-ci 0f9fe2c4
Using Docker executor with image node:latest ...
ERROR: Preparation failed: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (executor_docker.go:1150:0s)
Run Code Online (Sandbox Code Playgroud)

这是我的 gitlab config.toml:

concurrent = 1
check_interval = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "docker-ci"
  url = "http://gitlab.xxxxxx.com/"
  token = "0......fc5"
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "node:latest"
    privileged = false
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 0 …
Run Code Online (Sandbox Code Playgroud)

node.js docker gitlab-ci-runner

15
推荐指数
2
解决办法
1万
查看次数

我的ca-certificates.crt问题

(我在Ubuntu 14.10上.uname -r => 3.16.0-31-generic)

apt-get update

Failed to fetch https://get.docker.com/ubuntu/dists/docker/main/binary-amd64/Packages  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none.
Run Code Online (Sandbox Code Playgroud)

git clone https://github.com/sdelements/lets-chat.git

I can't clone anything - fatal: unable to access 'https://github.com/sdelements/lets-chat.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none.
Run Code Online (Sandbox Code Playgroud)

docker run hello-world

Get https://index.docker.io/v1/repositories/library/hello-world/images: x509: certificate signed by unknown authority.
Run Code Online (Sandbox Code Playgroud)

ls /etc/ssl/certs/ca-certificates.crt -l

-rw-r--r-- 1 root root 1964 Mar 26 18:19 /etc/ssl/certs/ca-certificates.crt
Run Code Online (Sandbox Code Playgroud)

任何线索将不胜感激.

ubuntu ssl ca

9
推荐指数
2
解决办法
2万
查看次数

标签 统计

docker ×2

ca ×1

git ×1

gitlab-ci-runner ×1

node.js ×1

proxy ×1

ssl ×1

ubuntu ×1

windows ×1