I have an oracle docker up and running. By default it runs on localhost:8080 and localhost:1521.
I want it to run it on a specific IP like 192.168.56.50:8080 and so on.
So I created a external bridge network and trying to bind the IP but it does not work. I get below error.
Cannot start service oracle: driver failed programming external connectivity on endpoint oracle.local (4d8268bc0f46d35566dbb8ff5d4b8c92e69525b81e572d17ec8c1b58876e9d4e): Error starting userland proxy: listen tcp 192.168.56.50:8080: bind: cannot assign requested address
I have used VirtualBox previously which has VirtualBox-Host Only adapter with that IP. I have enabled Hyper-V and want to map that 220.127.116.11 to work with Hyper-V
Docker running Linux containers
Docker for Windows Community Edition v18.03.1-ce-win65 (17513) stable
– To create network
docker network create
- subnet: 192.168.56.0/24
– Docker image