version: "2"
services:
routeros:
image: mkv28/mikrotik-routeros:latest
restart: unless-stopped
privileged: true
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
ports:
- "2222:22"
- "2223:23"
- "7777:80"
- "8728:8728"
- "8729:8729"
- "28728:8728"
- "28729:8729"
- "8291:8291"
- "5900:5900"
For Portainer :
Go to STACK >>> ADD STACK >>> ADD NAME STACK >>> PASTE COMMAND >>> CLICK "DEPLOY STACK"
And wait a few minutes ...
For docker-compose add file :
docker-compose.yml
And you can run with :
docker-compose up -d
And wait a few minutes ...
docker run -d --name mikrotik-routeros -p 2222:22 -p 8728:8728 -p 8729:8729 -p 7777:80 -p 8291:8291 -p 5900:5900 --device /dev/net/tun --privileged --cap-add=NET_ADMIN mkv28/mikrotik-routeros:latest
And wait a few minutes ...
if you want to edit the port, please only change the left side of the port in the 2 types of commands above.
Example :
7777:80 >>> 9999:80
You can now access it with port 9999 🤗
address : your ip local
user : admin
pass : (blank)
Default Ports inside container :
Description Ports
Default 21, 22, 23, 80, 443, 8291, 8728, 8729
IPSec 50, 51, 500/udp, 4500/udp
OpenVPN 1194/tcp, 1194/udp
L2TP 1701
PPTP 1723
Thx to EvilFreelancer For This source 🙏🏻
Content type
Image
Digest
sha256:2d8e8eb58…
Size
76.6 MB
Last updated
about 4 years ago
docker pull mkv28/mikrotik-routeros