Agent registration handshake failure

Same problem here running checkmk in a docker container. I get complaints about each host I am monitoring having the same problem:

" Version: 2.1.0p18, OS: linux, TLS is not activated on monitored host (see details)WARN , Agent plugins: 0, Local checks: 0"

When I try and register it I get:

Attempting to register at 192.168.1.5:8080/cmk. Server certificate details:

ERROR [cmk_agent_ctl] the handshake failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:331:

Caused by:
0: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:331:
1: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:331: