![]() The -network host option cannot be passed to our docker-compose build commands, but must instead be specified in the docker compose file with network_mode: host. Now, my issue: We use a docker compose file on our project. This binded the containers to the host network (the Ubuntu VM’s network) which allowed the containers to access resources within the VPN. ![]() I was able to partially get around this issue by passing -network host to our docker build commands. The Ubuntu VM can see the VPN (and resolve URLs in this network) but the docker containers created within the VM cannot. My Windows 7 machine has Cisco An圜onnect installed which is used to connect to our VPN, because our app needs resources located within this network. Within this Ubuntu VM I have docker and docker-compose installed. I have a Windows 7 machine with an Ubuntu VM created through VirtualBox.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |