Containers communication with python requests
问题 Here is my architecture : I have two containers (A and B) running on the same host with their own network. docker-compose : version : '3' services: A: build: ./docker_A ports: - "8090:8090" networks: - my_network B: build: ./docker_B ports: - "8070:8070" networks: - my_network networks: my_network: driver : bridge Container b is running a bottle server : @get('/') def hello(): return {"say":"Hello world"} run(host='0.0.0.0', port=8070, debug=True) docker inspect package_name_my_network