Docker container to run Mikrotik RouterOS
添加arm平台,但依然使用x86的qemu
原作者:https://hub.docker.com/r/vaerh/routeros
docker run -d --rm \
--cap-add=NET_ADMIN \
-v /dev/net/tun:/dev/net/tun \
-p 2222:22 \
-p 8728:8728 \
-p 8729:8729 \
-p 5900:5900 \
--name routeros-$(head -c 4 /dev/urandom | xxd -p)-$(date +'%Y%m%d-%H%M%S') \
solyhe84/routeros:latest
docker-compose
version: "3"
services:
routeros:
image: solyhe84/routeros:latest
privileged: true
restart: unless-stopped
# 8 interfaces
entrypoint: /routeros/entrypoint_for_docker_8interfaces.sh
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
ports:
- "8291:8291"
- "22222:22"
- "22223:23"
- "7777:80"
- "8728:8728"
- "8729:8729"
- "28728:8728"
- "28729:8729"
Content type
Image
Digest
sha256:86cbf7ce5…
Size
81.8 MB
Last updated
almost 3 years ago
docker pull solyhe84/routeros