Home > other >  Docker deployment needs to run in Jenkins python3, GLIBC_2. 25 doesn't support?
Docker deployment needs to run in Jenkins python3, GLIBC_2. 25 doesn't support?

Time:10-08

Docker deployed Jenkins, mount python3 directory, python version for the 3.6.9, Jenkins deployed jar before service, need to replace the contents of the yml file, need to run a python3 scripts, and then will be submitted to the following error:

Python3:/lib/x86_64 - - the gnu/Linux libc. So. 6: version ` GLIBC_2. 25 'not found (required by python3)

Docker container is to use the docker - compose for deployment, I would like to ask, if not docker internal operation for installation python3, how to solve this problem? Docker internal installation is too cumbersome

CodePudding user response:

This is a C library incompatibilities, you container within the C library and system C library is not a version.
1 to find system version similar mirror with you
2 based on your current system to make images.
3 can directly from the docker. Download the hub with python3 mirror
4 through the vessel's own package management download and install python3

CodePudding user response:

thank you, I have a question, because is the latest to make the deployment, I just learn docker, want to ask a question, the docker downloaded in the hub with python3 mirror, can in Jenkins of the mirror, the mirror hanging on the python3 environment? I installed a call in the Jenkins ShiningPanda plug-in

CodePudding user response:

Mount can be mounted but can not use the environment

CodePudding user response:

That I can't understand, so use docker installation Jenkins is actually a hole, it is better to host machine installation would be better?

CodePudding user response:

Although I did not deploy Jenkins. But I think this service is to make container. You are hosting how deployment is inside the container how deployment, lack what installation can directly. In addition if you are an x86 platform. Can be directly docker pull Jenkins

CodePudding user response:

reference 4 floor HITYM627 response:
that I can't understand, so use docker installation Jenkins is actually a hole, it is better to host machine installation would be better?

How. Solve the problem

CodePudding user response:

refer to 6th floor mouse_zhu response:
Quote: refer to 4th floor HITYM627 response:

That I can't understand, so use docker installation Jenkins is actually a hole, it is better to host machine installation would be better?

. Whether solve
great god do you mean I in the host machine for installation, and then make a image is?

CodePudding user response:

Can also be like this. And in fact, you can directly pull a individual well prepared environment
  • Related