mirror of
https://github.com/EvilFreelancer/docker-routeros.git
synced 2025-08-03 09:34:29 +02:00
kvm support removed, only native virtualization
This commit is contained in:
parent
9272d17e9b
commit
311b642c77
3 changed files with 3 additions and 5 deletions
|
@ -41,7 +41,6 @@ services:
|
|||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun
|
||||
- /dev/kvm
|
||||
ports:
|
||||
- "12222:22"
|
||||
- "12223:23"
|
||||
|
@ -55,7 +54,6 @@ services:
|
|||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun
|
||||
- /dev/kvm
|
||||
ports:
|
||||
- "22222:22"
|
||||
- "22223:23"
|
||||
|
|
|
@ -9,7 +9,6 @@ services:
|
|||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun
|
||||
- /dev/kvm
|
||||
ports:
|
||||
- "12222:22"
|
||||
- "12223:23"
|
||||
|
@ -18,12 +17,13 @@ services:
|
|||
|
||||
routeros-6-45:
|
||||
image: evilfreelancer/docker-routeros:6.46.5
|
||||
build:
|
||||
context: .
|
||||
restart: unless-stopped
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun
|
||||
- /dev/kvm
|
||||
ports:
|
||||
- "22222:22"
|
||||
- "22223:23"
|
||||
|
|
|
@ -50,7 +50,7 @@ udhcpd -I $DUMMY_DHCPD_IP -f $DHCPD_CONF_FILE &
|
|||
# -nic: Use a TAP interface with our custom up/down scripts.
|
||||
# -drive: The VM image we're booting.
|
||||
exec qemu-system-x86_64 \
|
||||
-enable-kvm -nographic -serial mon:stdio \
|
||||
-nographic -serial mon:stdio \
|
||||
-vnc 0.0.0.0:0 \
|
||||
-m 256 \
|
||||
-nic tap,id=qemu0,script=$QEMU_IFUP,downscript=$QEMU_IFDOWN \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue