I have:
- Docker host (Windows 10)
- IPv4 Address: 192.168.3.59
- Subnet Mask: 255.255.255.0
- Default Gateway: 192.168.3.102
- Windows container
- IPv4 Address: 192.168.3.154
- Subnet Mask: 255.255.255.0
- Default Gateway: 192.168.3.102
- Local network resource - 192.168.3.10\folder
Configured:
docker network create --driver transparent --subnet 192.168.3.0/24 --gateway 192.168.3.102 testwork
docker run -d --name devtest --network testwork microsoft/aspnet
How to access the resource from the container?
Ping from container fails:
Pinging 192.168.3.10 with 32 bytes of data:
Reply from 192.168.3.154: Destination host unreachable.