Intermittent silent fail at attaching a network

I have a compose app in which I have two networks : frontnet and devnet. I have two containers on devnet and one on frontnet. One of my container is connected to the two network.

Most of the time when I execute “docket compose up” everything is as intended. It works fine. However maybe one in ten attempts the container connecting to two networks just connect to one. There’s no error, no fail. But obviously the app doesn’t work.

Is there any way to have logs on the network creation and activities, like container attach to the network? I’m at a loss on how to debug that problem.

journalctl -e

and

dmesg

can give you more information on Linux

I updated to compose 2.19.1, which has a fix that ressemble what I’m describing, and it seems to work now. So far so good at least.