简体   繁体   English

Jenkins 错误构建:docker:/lib/x86_64-linux-gnu/libc.so.6:未找到版本“GLIBC_2.32”(docker 需要)

[英]Jenkins error buildind : docker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by docker)

jenkins: job fa jenkins:工作FA 在此处输入图像描述 iles when entering stage of building image here is the error displayed when executing docker build -t jumperiz/nodeapp: Error is: docker: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by docker) docker: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by docker) a picture of my build is attached.这里进入构建镜像阶段的文件是执行 docker build -t jumperiz/nodeapp 时显示的错误:错误是:docker: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by docker) docker: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34'(docker要求)附上我的构建图片。

any guidance would be apreciated!任何指导将不胜感激!

You need to install docker manually and you can follow this steps:您需要手动安装 docker,您可以按照以下步骤操作:

  • run jenkins container on detached mode:在分离模式下运行 jenkins 容器:

    docker run -p 8080:8080 -p 50000:50000 -d -v /var/run/docker.sock:/var/run/docker.sock -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts docker run -p 8080:8080 -p 50000:50000 -d -v /var/run/docker.sock:/var/run/docker.sock -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts

  • Enter the jenkins container as root user:以 root 用户身份进入 jenkins 容器:

    docker exec -it -u0 bash docker exec -it -u0 bash

  • Install docker:安装 docker:

    curl https://get.docker.com/ > dockerinstall && chmod 777 dockerinstall &&./dockerinstall curl https://get.docker.com/ > dockerinstall && chmod 777 dockerinstall &&./dockerinstall

  • And then exit the jenkins container and change docker.sock privilege to read and write for all user with:然后退出 jenkins 容器并将 docker.sock 权限更改为所有用户的读写权限:

    sudo chmod 666 /var/run/docker.sock sudo chmod 666 /var/run/docker.sock

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误 /lib/x86_64-linux-gnu/libc.so.6:找不到版本“GLIBC_2.34” - Error /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found 错误“/lib/x86_64-linux-gnu/libc.so.6:找不到版本‘GLIBC_2.33’” - error "/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found" aerospike服务启动错误/ usr / bin / asd:/lib/x86_64-linux-gnu/libc.so.6:找不到版本“ GLIBC_2.14”(/ usr / bin / asd要求) - aerospike service start error /usr/bin/asd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/bin/asd) [/lib/x86_64-linux-gnu/libc.so.6-未找到glibc] - [/lib/x86_64-linux-gnu/libc.so.6 - glibc not found] 错误:/lib/x86_64-linux-gnu/libm.so.6:版本`GLIBC_2.27' - Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' 节点容器中的 google-closure-compiler 给出 libc.so.6: 找不到版本 GLIBC_2.32 - google-closure-compiler in node container gives libc.so.6: version GLIBC_2.32 not found ncl:/lib/x86_64-linux-gnu/libssl.so.10:找不到版本`libssl.so.10'(ncl要求) - ncl: /lib/x86_64-linux-gnu/libssl.so.10: version `libssl.so.10' not found (required by ncl) ruby:/usr/lib/x86_64-linux-gnu/libcrypt.so.1:未找到版本“XCRYPT_2.0”(...需要) - ruby: /usr/lib/x86_64-linux-gnu/libcrypt.so.1: version `XCRYPT_2.0` not found (required by …) 从源代码构建 gcc 4.8.3 时出错:libstdc++.so.6:找不到版本“CXXABI_1.3.8”(/usr/lib/x86_64-linux-gnu/libicuuc.so.55 需要) - Error building gcc 4.8.3 from source: libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55) /usr/lib/x86_64-linux-gnu/libstdc++.so.6:未找到版本 CXXABI_1.3.8' - /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM