Sign inSign up

cnsoluciones/mikrotik

By cnsoluciones

Updated over 1 year ago

Mikrotik RouterOS in Docker for Lab and Testing

Image
40

50K+

cnsoluciones/mikrotik repository overview

Mikrotik RouterOS in Docker

Lord BaseX (c) 2014-2025 Federico Pereira [email protected]

This docker image is made for laboratory use and testing only. We are not responsible if you use it for commercial purposes or if you use it in production.

Note: Winbox on MacOS M1 https://github.com/Gcenx/macOS_Wine_builds/releases/download/8.7/wine-devel-8.7-osx86.tar.xz

Get Started
Use image from docker hub
docker pull cnsoluciones/mikrotik

or

docker pull cnsoluciones/mikrotik:7.16.2
ChangeLog

What's new in 7.16.2 (2024-Nov-26 14:09):

  • Certificate: Do not download CRL if there is not enough free RAM.
  • Certificate: Fixed handling of capsman-cap certificates (introduced in v7.16).
  • dhcpv4-server/relay: Added additional error messages for DHCP servers and relays.
  • DNS: Fixed lookup order for static DNS entries (introduced in v7.16.1).
  • Ethernet: Improved linking after reboot for hAP ax lite devices ("/system routerboard upgrade" required).
  • GPS: Changed default GPS antenna setting for LtAP mini with internal LTE/GPS combo antenna.
  • LEDs: Fixed bogus argument for "leds" property (introduced in v7.16).
  • LEDs: Fixed PoE-in LEDs for CRS318-1Fi-15Fr-2S+ devices.
  • Modem: KNOT BG77 modem, improved handling of modem unexpected restarts.
  • Route: Fixed possible issue with inactive routes after reboot (introduced in v7.16).
  • Routerboot: Improved stability for IPQ8072 and IPQ6010 when flash-boot is used ("/system routerboard upgrade" required).
Use in docker-compose.yml

Example is here.

services:
    routeros:
        container_name: "mikrotik"
        image: cnsoluciones/mikrotik:7.6
        privileged: true
        ports:
            - "21:21" #ftp
            - "22:22" #ssh
            - "23:23" #telnet
            - "80:80" #www
            - "443:443" #www-ssl
            - "1194:1194" #OVPN
            - "1450:1450" #L2TP
            - "8291:8291" #winbox
            - "8728:8728" #api
            - "8729:8729" #api-ssl
            - "13231:13231" #WireGuard
        cap_add: 
            - NET_ADMIN
        devices: 
            - /dev/net/tun

List of exposed ports

Default ports of RouterOS: 21, 22, 23, 80, 443, 8291, 8728, 8729

OpenVPN: 1194

L2TP: 1450

WireGuard: 13231

Github

Visit my github where I have several projects with Docker CNSoluciones

Tag summary

Content type

Image

Digest

sha256:cbd65889a

Size

83.7 MB

Last updated

over 1 year ago

docker pull cnsoluciones/mikrotik