Docker compose and managed network

Hello there,
I’ve seen a strange problem on networking with normal containers launched inside rancher nodes.

I want the container to see the others in other nodes so as stated in the doc I add the dedicated label, e.g.:

docker run --rm -it --label alpine ash
This works and I get an IP assigned inside the managed rancher network.

But, if I switch to do the same exact thing on docker-compose:

version: '3'
    image: alpine
    command: sleep 123456789
    labels: true

This doesn’t give errors but the container IP is not managed by rancher.
Anyone any clue? :thinking: