avito-tech / bioyino

High performance and high-precision multithreaded StatsD server
The Unlicense
228 stars 22 forks source link

New docker build not starting #72

Closed syatihoko closed 1 year ago

syatihoko commented 1 year ago

Hello. Maybe the problem is already known and you can help. Previously used version 0.7.1. I tried today to build docker with version 0.8.0. When docker starts errors:

bioyino: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by bioyino)
bioyino: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by bioyino)

But as I understand it, the problem is in the debian version (package libc6 ver ) , while I downgraded it step by step to debian:stretch-20220228. Trying install another version libc6.

syatihoko commented 1 year ago

Add: RUN echo "deb http://ftp.debian.org/debian sid main" >> /etc/apt/sources.list RUN apt-get update RUN apt-get install libc6 -y

Albibek commented 1 year ago

Hello.

This usually happens when the libc version you compile it for mismatches with the version you are running it on. If you compile inside docker, make sure the debian version inside docker is the same as the debian version outside, where you run it.

syatihoko commented 1 year ago

Thanks, Albibek, it's helped me! I started using debian:stable-20230109. Compile - FROM rust:1.66.1.