You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used golang:1.20 which built yesterday to build my image, my image failed to run with the errors
/placement: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /placement)
/placement: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /placement)
the golang:1.20 digest: golang@sha256:3164c26b2e170b18e2325aa0554699e7bb19a658333601659c04838855897f7a
when I changed to 1.20.4, everything is ok.
The text was updated successfully, but these errors were encountered:
tianon
changed the title
GLIBC not found in the golang:1.20
libc.so.6: version `GLIBC_2.3x' not found (from binaries built in new bookworm based images but run on older distros)
Jun 15, 2023
They can also specify the Debian version of the Golang images (only the two most recent are updated/supported): golang:1.20.5-bullseye or golang:1.20.5-bookworm (and golang:1.20-bullseye, etc).
If you don't need cgo in your binary, it should also work to specify CGO_ENABLED=0 explicitly.
I used golang:1.20 which built yesterday to build my image, my image failed to run with the errors
the golang:1.20 digest: golang@sha256:3164c26b2e170b18e2325aa0554699e7bb19a658333601659c04838855897f7a
when I changed to 1.20.4, everything is ok.
The text was updated successfully, but these errors were encountered: