Docker image trying to set sysctl config but not allowed due to read-only filesystem

Hi
I’m new here, and new to Gitlab as well!
I’m running gitlab in kubernetes/docker, based on gitlab/gitlab-ce:14.6.3-ce.0 (upgraded from older versions) from Docker Hub, and when it starts up, it tries to apply sysctl configuration, but cannot do it, complaining that /etc/sysctl.d is on a read-only filesystem:

I wonder if this a a problem with the docker image, or a timing-issue (maybe the filesystem becomes read-write too late) because with everything up and running, I can easily write into /etc/sysctl.d/ :

root@gitlab-nfs3-77fb7b8cd6-wq9p7:/etc/sysctl.d# ls -al
total 48
drwxr-xr-x 2 root root 4096 Jan 5 16:50 .
drwxr-xr-x 1 root root 4096 Feb 6 18:10 …
-rw-r–r-- 1 root root 77 Feb 27 2020 10-console-messages.conf
-rw-r–r-- 1 root root 490 Feb 27 2020 10-ipv6-privacy.conf
-rw-r–r-- 1 root root 726 Feb 27 2020 10-kernel-hardening.conf
-rw-r–r-- 1 root root 257 Feb 27 2020 10-link-restrictions.conf
-rw-r–r-- 1 root root 1184 Feb 27 2020 10-magic-sysrq.conf
-rw-r–r-- 1 root root 158 Feb 27 2020 10-network-security.conf
-rw-r–r-- 1 root root 1292 Feb 27 2020 10-ptrace.conf
-rw-r–r-- 1 root root 506 Feb 27 2020 10-zeropage.conf
-rw-r–r-- 1 root root 792 Feb 13 2020 README.sysctl
root@gitlab-nfs3-77fb7b8cd6-wq9p7:/etc/sysctl.d# touch hello
root@gitlab-nfs3-77fb7b8cd6-wq9p7:/etc/sysctl.d# ls -l hello
-rw-r–r-- 1 root root 0 Feb 9 09:47 hello
root@gitlab-nfs3-77fb7b8cd6-wq9p7:/etc/sysctl.d#

The docker image is based on Ubuntu 20.04.3 LTS if that matters.

Anybody has seen this as well and know how to fix?