Docker: subnet clients can't ping other subnet
The problem was in this line:

sudo docker network create --internal --subnet=192.168.2.0/24 netR


The --internal option makes the network unreachable from other Docker networks.

The solution was to remove this option.