Comments (5)
If you also followed the steps for DHCP=Y I think that is not supported on a Synology device because its kernel (v4) does not have the macvtap
interface that newer Linux kernels have.
If you only did macvlan without DHCP=Y i think it should work, but maybe just stick to bridge mode because the Docker on Synology is a bit different than the normal Docker, so I cant garantuee it works.
from windows.
The docker is sticked to brigde mode. Below is the docker-compose I used to create the container. windows dirver was requested when the setup started which i select the option as " Red Hat VirtIO SCSI pass-through controller (D:\amd64\w10\vioscsi.inf)" .
version: "3"
services:
windows:
image: dockurr/windows
container_name: win10_ltsc2019
devices:
- /dev/kvm
# - /dev/sda
# - /dev/sdb
cap_add:
- NET_ADMIN
networks:
macvlan_net1:
ipv4_address: 192.168.1.120
# ports:
# - 8006:8006
# - 3389:3389/tcp
# - 3389:3389/udp
volumes:
- /volume1/docker/dockerWin/storage:/storage
environment:
VERSION: "https://example.com/win.iso"
# MANUAL: "Y"
RAM_SIZE: "4G"
CPU_CORES: "2"
DISK_SIZE: "64G"
# DEVICE: "/dev/sda"
# DEVICE2: "/dev/sdb"
stop_grace_period: 2m
restart: on-failure
networks:
macvlan_net1:
external: true
If you also followed the steps for DHCP=Y I think that is not supported on a Synology device because its kernel (v4) does not have the
macvtap
interface that newer Linux kernels have.If you only did macvlan without DHCP=Y i think it should work, but maybe just stick to bridge mode because the Docker on Synology is a bit different than the normal Docker, so I cant garantuee it works.
from windows.
Did you install the NetKVM driver for the networkcard? Otherwise you have no network. Also install virtio-win-gt-x64.msi
as described in the FAQ for manual install.
from windows.
It works now aftering installing the NetKVM. Thanks a lot!
I found 2 small issues.
- when restarts the docker, windows will always create a new network interface that cause a long list of the network interface in the registry file.
- the macvlan is created to possess ipv4 and ipv6 addresses. but in the windows i found the ipv6 cannot work.
from windows.
The first issue I dont know about. Maybe Windows does this if the MAC address changes, but I generate the MAC from the container name, so it should stay the same after reboot. Maybe its a problem of the NetKVM driver, but I did not create that driver so it should be fixed by its author.
The second issue is maybe because I dont forward the IPv6 traffic correctly in bridge mode. It can be solved when setting DHCP=Y because that mode has no forwarding. But as you are using a Synology you cannot use this mode, so I dont have a quick solution for that.
from windows.
Related Issues (20)
- [Question]: qemu return error while booting windows HOT 2
- [Question]: how to start up the vm after shutdown HOT 3
- [Feature]: Add support for quick installation for Home, Education and other Windows editions. HOT 3
- [Question]: How to increase memory RAM without reinstalling the docker HOT 2
- [Bug]: After Reboot AKS Cluster container removed automatically. HOT 1
- [Feature]: Migrate Existing Windows VM to Container HOT 3
- I installed Windows 7 in Docker on OpenWRT, and the installation was completed successfully. However, Windows 7 cannot connect to the internet. Why? HOT 7
- How to increase memory RAM without reinstalling the docker
- cant change windows version HOT 2
- VM Lag and Screen Resolution Problems HOT 8
- Connectivity/Network problem from within the container HOT 1
- [Feature]: Multiple shared directories
- ERROR: qemu-system-x86_64: error: failed to set MSR 0x48d to 0xff00000016 HOT 1
- After Reboot Cluster POD removed
- [Question]: Any issues with running on Podman? HOT 1
- [Question]: Windows之间如何相互访问呢? HOT 1
- podman with volume option: Permission denied
- it's no audio while using web connect HOT 1
- Windows 7 (Access Files Host)
- [Question]: Standard novnc port 8006 HOT 3
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.