First, get the internal IP of the target container:
docker container inspect $MY_CONTAINER Then you can access the desire port by its IP
x.x.x.x:$TARGET_PORT First, get the internal IP of the target container:
docker container inspect $MY_CONTAINER Then you can access the desire port by its IP
x.x.x.x:$TARGET_PORT