If you run the official Checkmk Docker images, this workaround does not work, as there is no Checkmk 2.2 installed in parallel to 2.3.
What helps is to install the librrds-perl
package into the running container.
docker exec checkmk bash -c 'apt-get update && apt-get install -y librrds-perl'
(Replace checkmk
with the name of your docker container.)