如何解决不能在 gitlab 中为 docker dind 使用全局变量吗?
我想将 docker-dind 变量存储在 gitlab 变量中:
DOCKER_HOST: $DOCKER_HOST ===> tcp://docker:2376
DOCKER_TLS_CERTDIR:$DOCKER_TLS_CERTDIR ==> /cert
我不知道如何在每次执行管道时弄清楚会发生以下输出:
2021-01-29T15:12:09.197294447Z time="2021-01-29T15:12:09.197108372Z" level=info msg="libcontainerd: started new containerd process" pid=22
2021-01-29T15:12:09.197464886Z time="2021-01-29T15:12:09.197403265Z" level=info msg="parsed scheme: \"unix\"" module=grpc
2021-01-29T15:12:09.197564859Z time="2021-01-29T15:12:09.197517351Z" level=info msg="scheme \"unix\" not registered,fallback to default scheme" module=grpc
2021-01-29T15:12:09.197669894Z time="2021-01-29T15:12:09.197609479Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock <nil> 0 <nil>}] <nil> <nil>}" module=grpc
2021-01-29T15:12:09.197760861Z time="2021-01-29T15:12:09.197695286Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
2021-01-29T15:12:09.210216206Z time="2021-01-29T15:12:09.210074944Z" level=info msg="starting containerd" revision=269548fa27e0089a8b8278fc4fc781d7f65a939b version=v1.4.3
2021-01-29T15:12:09.240903401Z time="2021-01-29T15:12:09.240774125Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
2021-01-29T15:12:09.241192694Z time="2021-01-29T15:12:09.241137139Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
2021-01-29T15:12:09.247480184Z time="2021-01-29T15:12:09.247346946Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"ip: can't find device 'aufs'\\nmodprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1
2021-01-29T15:12:09.247645618Z time="2021-01-29T15:12:09.247591138Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." type=io.containerd.snapshotter.v1
一旦我删除它们,东西管道就可以完美地将它们添加到 .gitlab-ci.yml 文件中,只是希望它能从 gitlab 中获取值 - 它坏了。
有人有什么建议吗?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。