Tag: 坞员构成

无人机CI无法克隆的步骤

我在docker上的一台机器上运行,组成如下: gitlab 无人机(服务器) 无人机(代理) 当我触发一个构build(或由git push触发)时,无人机在这个问题上不断失败: git init Initialized empty Git repository in /drone/src/.git/ git remote add origin http://my-git/amaziagur/location-service.git git fetch –no-tags origin +refs/heads/master: fatal: unable to access 'http://my-git/amaziagur/location-service.git/': Couldn't resolve host 'my-git' exit status 128 这里是docker-compose.yml: version: '2' services: #PROXY gitlab: image: 'gitlab/gitlab-ce:9.1.0-ce.0' restart: always hostname: 'my-git' links: – postgresql:postgresql – redis:redis environment: GITLAB_OMNIBUS_CONFIG: […]

Haskell – Alpine Docker映像中的主机名parsing不起作用

问题 我正在尝试在Haskell应用程序里面创builddocker镜像。 然而,在我的应用程序内的泊坞窗容器networking中的其他容器的主机名的域名parsing失败(但我能够wget / ping其他容器和他们的主机名正确解决)。 为了find根本原因,我尝试手动parsing主机名(使用Network.DNS包),并只使用servant-client IP地址。 但是,这只会产生一个神秘的错误信息: Network.BSD.getProtocolByName: does not exist (no such protocol name: udp) 我想我错过了我的泊坞窗图像中的一些包。 我试过安装libc6-compat但没有成功(Debian的libc6被用来编译Haskell应用程序)。 而且/etc/protocols包含正确的条目。 docker图像里还有什么东西丢失? Docker镜像 我用来运行应用程序的docker图像是alpine:3.6 – 整个docker文件,没有太多 。 这是用来构build应用程序的不同的图像(它是大约20倍)。 我用来构buildhaskell应用程序的docker镜像基于debian:stretch 。 Dockerfile 。 带有构build指令的整个源代码可以在这里find(angular部分可以跳过): https://github.com/carbolymer/blockchain/tree/0b041875f71b2a09dc8568ee7b0cc22460fd5624