-1
I have the following network:
Standard gateway -> 192.168.1.1
Host -> 192.168.1.2
Database (Mysql) -> 192.168.1.3
I generated a container using Docker-Compose.yml with the following configuration
version: '3.3'
services:
php53:
image: bylexus/apache-php53
container_name: php53
volumes:
- ./www:/var/www
ports:
- 80:80
network_mode: bridge
I would like the applications inside my container to access the bank of my local network: 192.168.1.3. When giving docker container inspect php53
, he brings the Gateway: 172.17.0.1