Comments (5)
All the traffic to the container IP is tunneled to the (dummy) VM IP 20.20.20.21 via a tuntap interface.
If you want to avoid this tunnel/NAT you can enable DHCP=Y, and it will use a macvtap
interface, so the VM will be directly connected to the network like a normal device, without any layers in between. As it will get an IP from your router, you can configure your router to put it on a specific VLAN.
from windows.
I have been following this topic with interest. Is it possible to activate this retrospectively or does it have to be done initially?
Many thanks for this container, I love it.
from windows.
Ya, it will definitely be able to be done in post... I use portainer to orchestrate my containers, once I figure out how to do it, I'll post how to do it.
from windows.
I have no experience with VLANs, but this sounds like something that Docker should support on the container level, not something I can provide in my code.
In any case its possible to put the container inside a Docker macvlan network, and there is even a DHCP mode that allows Windows to get an IP from your DHCP server, its documented here .
from windows.
No worries... I figured since the VM's were somehow getting an IP way outside the range of the containers bridge network, and different than the host network, you were doing something fancy with the network stack of the VM. If I figure out a simple work around for this, I'll post it.
from windows.
Related Issues (20)
- docker: invalid reference format. HOT 2
- [Feature]: Separated/Dedicated interfaces for VNC & VM HOT 6
- ERROR: Timeout while waiting for QEMU to boot the machine! HOT 16
- How can I run multiple containers at the same time HOT 6
- [Question]: I have two questions..!! HOT 8
- [Question]: commiting changes HOT 2
- Forcefully terminating Windows, reason: 0.. HOT 5
- [Question]: Is it possible to boot pre nt windows HOT 4
- [Issue]: Can't login into windows HOT 10
- RDP port already in use HOT 2
- [Question]: Truenas Network support/ limitations HOT 6
- Keyboard layout issue HOT 2
- WSL2 RDP Container IP HOT 2
- Unable to connect to server HOT 4
- [Feature]: What about support for Windows Nano Server or Windows Server Core HOT 2
- [Question]: OSX collaboration HOT 4
- [Bug]: Error while smbd booting HOT 3
- [Question]: How to disable the remote screen HOT 5
- [Question]: ❯ ERROR: Failed to create bridge. Please add the following setting to your container: --cap-add NET_ADMIN HOT 1
- Windows won't install with an USB device connected HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows.