Quantcast
Viewing all articles
Browse latest Browse all 5979

error "/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found"

Here is My Dockerfile:

FROM ubuntu:20.04RUN apt-get update && apt-get upgrade -yRUN apt-get install libssl-devRUN apt-get install -y -q build-essential curlRUN curl https://sh.rustup.rs -sSf | sh -s -- -yENV PATH="/root/.cargo/bin:${PATH}"WORKDIR /command-agentCOPY . /command-agentRUN cargo build --releaseCOPY /command-agent/target/release/command-agent /EXPOSE 8080ENTRYPOINT command-agent

Its build successfully docker image but when I run that container its gives error:

command-agent: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /command-agent/command-agent)

I do not understand, How can I fix this issue ?


Viewing all articles
Browse latest Browse all 5979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>