• Stars
    star
    346
  • Rank 121,858 (Top 3 %)
  • Language
    Shell
  • License
    MIT License
  • Created about 6 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Mikrotik RouterOS inside Docker container

Mikrotik RouterOS in Docker

This extrasmall image was created for tests purpose only, for example on this project based unit testing of routeros-api-php library. If you need fully functional "RouterOS in Docker" for production usage look at VR Network Lab project.

How to use

Create your own Dockerfile

List of all available tags is here, latest will be used by default.

FROM evilfreelancer/docker-routeros
ADD ["your-scripts.sh", "/"]
RUN /your-scripts.sh

Use image from docker hub

docker pull evilfreelancer/docker-routeros
docker run -d -p 2222:22 -p 8728:8728 -p 8729:8729 -p 5900:5900 -ti evilfreelancer/docker-routeros

Use in docker-compose.yml

Example is here.

version: "3"

services:

  routeros-6-42:
    image: evilfreelancer/docker-routeros:6.42.12
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    ports:
      - "12222:22"
      - "12223:23"
      - "18728:8728"
      - "18729:8729"

  routeros-6-44:
    image: evilfreelancer/docker-routeros:6.46.5
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    ports:
      - "22222:22"
      - "22223:23"
      - "28728:8728"
      - "28729:8729"

Build from sources

For this you need download project and build everything from scratch:

git clone https://github.com/EvilFreelancer/docker-routeros.git
cd docker-routeros
docker build . --tag ros
docker run -d -p 2222:22 -p 8728:8728 -p 8729:8729 -p 5900:5900 -ti ros

Now you can connect to your RouterOS container via VNC protocol (on localhost 5900 port) and via SSH (on localhost 2222 port).

List of exposed ports

Description Ports
Defaults 21, 22, 23, 80, 443, 8291, 8728, 8729
IPSec 50, 51, 500/udp, 4500/udp
OpenVPN 1194/tcp, 1194/udp
L2TP 1701
PPTP 1723

Links

More Repositories

1

routeros-api-php

Mikrotik RouterOS API PHP client for your applications
PHP
391
star
2

openvpn-php

OpenVPN config generator/importer written on PHP
PHP
28
star
3

docker-nextcloud

Composition of containers for using Nextcloud
24
star
4

docker-lfs-build

Linux From Scratch build environment
Shell
24
star
5

laravel-manticoresearch

An easy way to use the official ManticoreSearch client in your Laravel or Lumen applications.
PHP
20
star
6

kubernetes-cluster-on-arm

Project of simple Kubernetes cluster on NanoPi NEO3 ARM64 nodes
Shell
19
star
7

docker-openvpn-admin

Docker composition for OpenVPN Admin web interface
Shell
18
star
8

laravel-swagger-example

Small example application with basic realization of Swagger on Laravel Framework
PHP
18
star
9

docker-lamp

LAMP is abbreviate of Linux + Apache + MySQL/MariaDB + PHP and this project is composition of Docker containers for creating a local LAMP
Dockerfile
17
star
10

ruGPT-3.5-training

Jupyter Notebook
13
star
11

saiga-custom

Bunch of notebooks for pre-training custom Saiga-like LLM
Jupyter Notebook
13
star
12

benchmarking-llms

Comprehensive benchmarks and evaluations of Large Language Models (LLMs) with a focus on hardware usage, generation speed, and memory requirements.
Python
12
star
13

php-dev-env

Dockerfile
10
star
14

laravel-lighthouse-example

PHP
7
star
15

easyrsa-php

EasyRSA wrapper for PHP
PHP
7
star
16

rugpt3-custom

Pre-training custom ruGPT3 model on books written by F.M. Dostoevski
Python
7
star
17

docker-telegram-bot-api

Simple Docker image with Telegram Bot API server inside
Shell
7
star
18

xhprof-ui-js

Modern, flexible and mobile friendly application for analyzing PHP XHProf dumps
JavaScript
6
star
19

dockavel

Docker + Laravel
Shell
6
star
20

composer-json-generator

Small PHP library for generating/importing composer.json file with validation by composer's schema
PHP
6
star
21

rss-to-telegram-bot

Simple bot for reading posts from rss and
PHP
5
star
22

docker-whisper-server

whisper.cpp HTTP transcription server with OpenAI-like API in Docker
Python
5
star
23

docker-nexus

Docker composition for Nexus 3 by Sonartype
4
star
24

docker-compose-matomo

Basic repo with composition of docker containers required for Matomo (formerly Piwik)
4
star
25

app-yopta

Mobile application written on yoptascript
Java
4
star
26

enbeddrus

Collection of scripts for training bert-based embedder for Russian<>English embeddings extraction
Jupyter Notebook
4
star
27

pihole-api-php

Pi-Hole API PHP7 client
PHP
4
star
28

docker-lfs

Linux From Scratch in Docker container
4
star
29

docker-craftcms

Extra small image with basic CraftCMS inside Docker container
Shell
4
star
30

alpine-apache-php7

Docker image for LAP stack - Alpine + Apache2 + PHP7
Shell
3
star
31

bookeo-api-php

Bookeo API PHP7 client
PHP
3
star
32

characters-ai

Python
3
star
33

alpine-apache-php5

Docker image for LAP stack - Alpine + Apache2 + PHP5
Shell
3
star
34

docker-compose-jenkins

Jenkins in Docker container via docker-compose.yml (example)
Dockerfile
3
star
35

rugpt-api

Small API reserver for interacting with RuGPT-3
Python
3
star
36

socket-yrslf

Bot for Twitch <-> Discord chats messaging
TypeScript
2
star
37

samp-api-php

GTA San Andreas Multiplayer PHP client for work with remote console
PHP
2
star
38

docker-compose-jira

Jira Cora and Jira Software in Docker container via docker-compose.yml (example)
Shell
2
star
39

yaml-php

Small PHP library for importing and exporting with validation of YAML configuration files.
PHP
2
star
40

discord-bot

Small bot prototype for a DiscordApp
PHP
2
star
41

toxicator-ru

A playful project that cleverly transforms everyday sentences into their mischievous "toxic" counterparts. 😈
Jupyter Notebook
2
star
42

merklion-chat

Merklion demo chat application
PHP
2
star
43

xl2tp-php

XL2TP configuration manager written on PHP
PHP
2
star
44

resova-api-php

Resova API PHP7 client
PHP
2
star
45

yalm-100b-quantization

This experimental project aims to adapt the YaLM-100B language model to run on consumer-grade GPUs, making advanced AI capabilities more accessible to individual users.
Python
2
star
46

craftcms-routeros-manager

WORK IN PROGRESS: A CraftCMS plugin for Mikrotik RouterOS devices management
PHP
2
star
47

1c-repository-maker

A collection of scripts to create a repository of deb or rpm packages 1C thin client.
Shell
1
star
48

codeline-laravel

The solution of a simple test task for Codeline.io
PHP
1
star
49

funpay-yandex-wallet

Test task by FunPay
PHP
1
star
50

simplegqlient

The simplest GraphQL client written in PHP
PHP
1
star
51

youtube-chill

Library for work with YouTube live chats
JavaScript
1
star
52

rugpt3-langchain

Python
1
star
53

chatgpt-notebooks

Collection of small notebooks for pretraining ChatGPT
Jupyter Notebook
1
star
54

ruMorpheme

Python
1
star
55

hex-standoff

Programmable Hex Standoff
OpenSCAD
1
star
56

awesome-ubuntu

A curated list of awesome Ubuntu (and Ubuntu-based) operation systems
1
star
57

sum-project

Smart Utility Meter (SUM) is a collection of tools for collecting metrics from different devices like electricity meters
JavaScript
1
star
58

steam-api-client

The SteamAPI PHP Client is a PHP library for interacting with the Steam API. It provides an easy way to fetch data from the Steam platform, such as user profiles, games, and reviews.
PHP
1
star
59

translation-key-helper

Laravel plugin for displaying translation key inside HTML comments nearby translated text strings
PHP
1
star
60

docker-compose-manticoresearch

Composition of docker containers with ManticoreSearch via docker-compose.yml (example)
1
star