[英]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.