Image 7.2.0 is missing expected GLIBC library
Summary
This image container 7.0.2 fails with error
redis-server: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by redis-server)
Steps to reproduce
docker pull registry1.dso.mil/ironbank/bitnami/redis:7.0.2
docker run --env ALLOW_EMPTY_PASSWORD=yes -it --rm registry1.dso.mil/ironbank/bitnami/redis:7.0.2
output with error
redis 20:31:47.22
redis 20:31:47.24 Welcome to the Bitnami redis container
redis 20:31:47.24 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-redis
redis 20:31:47.25 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-redis/issues
redis 20:31:47.25
redis 20:31:47.26 INFO ==> ** Starting Redis setup **
redis 20:31:47.29 WARN ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
redis 20:31:47.30 INFO ==> Initializing Redis
redis 20:31:47.35 INFO ==> Setting Redis config file
redis 20:31:47.40 INFO ==> ** Redis setup finished! **
redis 20:31:47.42 INFO ==> ** Starting Redis **
redis-server: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by redis-server)
What is the current bug behavior?
Container fails to start.
What is the expected correct behavior?
The container should successfully start like previous 6.x version
docker pull registry1.dso.mil/ironbank/bitnami/redis:6.2.7
docker run --env ALLOW_EMPTY_PASSWORD=yes -it --rm registry1.dso.mil/ironbank/bitnami/redis:6.2.7
output with successful start
redis 20:34:12.83 Welcome to the Bitnami redis container
redis 20:34:12.83 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-redis
redis 20:34:12.84 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-redis/issues
redis 20:34:12.84
redis 20:34:12.84 INFO ==> ** Starting Redis setup **
redis 20:34:12.88 WARN ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
redis 20:34:12.90 INFO ==> Initializing Redis
redis 20:34:12.96 INFO ==> Setting Redis config file
redis 20:34:13.02 INFO ==> ** Redis setup finished! **
redis 20:34:13.04 INFO ==> ** Starting Redis **
1:C 06 Jul 2022 20:34:13.076 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 06 Jul 2022 20:34:13.076 # Redis version=6.2.7, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 06 Jul 2022 20:34:13.076 # Configuration loaded
1:M 06 Jul 2022 20:34:13.077 * monotonic clock: POSIX clock_gettime
1:M 06 Jul 2022 20:34:13.078 # A key '__redis__compare_helper' was added to Lua globals which is not on the globals allow list nor listed on the deny list.
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 6.2.7 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ' , .-` | `, ) Running in standalone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 1
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | https://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
1:M 06 Jul 2022 20:34:13.078 # Server initialized
1:M 06 Jul 2022 20:34:13.078 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:M 06 Jul 2022 20:34:13.078 * Ready to accept connections
Relevant logs and/or screenshots
see above
Possible fixes
Add expected GLIBC library to the image build.
Tasks
-
Bug has been identified and corrected within the container
Edited by kevin.wilder