Git clone ssh inside docker container

Hi,

on an host VM, two docker-compose stacks are deployed.
stack A is for gitlab
stack B is for ansible tower (AWX)

Each stack has in its own bridge network

My problem is :
on VM :
ping gitlab.domain.name => OK immediately
git clone ssh://****@gitlab.domain.name => OK

on VM, inside awx-task container :
ping gitlab.domain.name => OK after at least 10 seconds
git clone ssh://****@gitlab.domain.name => NOT OK : No route to host

I don’t know why ? Does anybody have an idea ?

Thanks in advance

Rachel