-
Notifications
You must be signed in to change notification settings - Fork 455
Ubuntu 20.04 image fails to provide realtime clock on arm32v7 raspberry pi #196
Comments
Well, that is strange. I have Docker 19.03.13, but the other one seems to be missing. I will try to install it. Strange fact is that with |
According to this page https://packages.ubuntu.com/xenial/libseccomp2 So the greatful results of this are:
Thank you @tianon ! |
Workaround here was to download manually the package https://packages.debian.org/buster-backports/libseccomp2 Then dpkg of it (libc was up to date). |
When I run a docker image, which is based on
ubuntu:20.04
on my raspberry pi 3B (arm32v7 architecture) and executedate
withsleep
in bash multiple times, it outputs:JVM used inside such a container throws the following warning:
OpenJDK Server VM warning: No monotonic clock was available - timed services may be adversely affected if the time-of-day clock changes
And finally this causing an issue, when non of java application wants to start normally. Or if it starts, if works unpredictable. But usually logs stay only with this warning.
Guys from AdoptOpenJDK helped to track down this problem AdoptOpenJDK/openjdk-docker#469.
Reproduction info:
Dockerfile
execution.sh
Building image
docker build --build-arg ARCH=arm32v7 -t custom-image:local .
Executing
docker run custom-image:local
The text was updated successfully, but these errors were encountered: