All Projects → EvilFreelancer → docker-routeros

EvilFreelancer / docker-routeros

Licence: MIT license
Mikrotik RouterOS inside Docker container

Programming Languages

shell
77523 projects
python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to docker-routeros

Awesome Docker
🐳 A curated list of Docker resources and projects
Stars: ✭ 20,870 (+9175.56%)
Mutual labels:  docker-container, container
Easy-HotSpot
Easy HotSpot is a super easy WiFi hotspot user management utility for Mikrotik RouterOS based Router devices. Voucher printing in 6 ready made templates are available. Can be installed in any PHP/MySql enabled servers locally or in Internet web servers. Uses the PHP PEAR2 API Client by boenrobot.
Stars: ✭ 45 (-80%)
Mutual labels:  mikrotik, routeros
Terraformize
Apply\Destory Terraform modules via a simple REST API endpoint.
Stars: ✭ 84 (-62.67%)
Mutual labels:  docker-container, container
Runtime
Kata Containers version 1.x runtime (for version 2.x see https://github.com/kata-containers/kata-containers).
Stars: ✭ 2,103 (+834.67%)
Mutual labels:  container, qemu
ROS Scripts
Scripts for RouterOS (MikroTik devices)
Stars: ✭ 81 (-64%)
Mutual labels:  mikrotik, routeros
dockupdater
Automatically keep your docker services and your docker containers up-to-date with the latest version
Stars: ✭ 76 (-66.22%)
Mutual labels:  docker-container, container
RouterOS Useful Scripts
MikroTik RouterOS Useful Scripts for various use
Stars: ✭ 66 (-70.67%)
Mutual labels:  mikrotik, routeros
Aws Containers Task Definitions
Task Definitions for running common applications Amazon ECS
Stars: ✭ 210 (-6.67%)
Mutual labels:  docker-container, container
chr-eve-ng
Repository contain LAB's for Mikrotik trainings and helpers for installing CHR into eve-ng.
Stars: ✭ 28 (-87.56%)
Mutual labels:  mikrotik, routeros
routeros-client
Abstraction layer over the node-routeros API
Stars: ✭ 63 (-72%)
Mutual labels:  mikrotik, routeros
Dockerpi
A Virtualised Raspberry Pi inside a Docker image
Stars: ✭ 1,064 (+372.89%)
Mutual labels:  container, qemu
TTstack
A private-cloud solution for SMEs !
Stars: ✭ 55 (-75.56%)
Mutual labels:  container, qemu
Multipass
Multipass orchestrates virtual Ubuntu instances
Stars: ✭ 3,978 (+1668%)
Mutual labels:  container, qemu
docker
🐳 Official Docker image of the SinusBot for TeamSpeak 3 and Discord.
Stars: ✭ 50 (-77.78%)
Mutual labels:  docker-container, container
ProxmoxVE PHP API
ProxmoxVE PHP API
Stars: ✭ 78 (-65.33%)
Mutual labels:  container, qemu
node-routeros
Mikrotik Routerboard RouterOS API for NodeJS
Stars: ✭ 87 (-61.33%)
Mutual labels:  mikrotik, routeros
mbkp
Mikrotik backup script | simple bash script for doing encrypted backups of mikrotik devices(Routeros) via ssh. Script will do password-protected binary and encrypted with openssl export on regular basis
Stars: ✭ 21 (-90.67%)
Mutual labels:  mikrotik, routeros
npk-tools
Mikrotik's NPK files managing tools
Stars: ✭ 63 (-72%)
Mutual labels:  mikrotik, routeros
undock
Extract contents of a container image in a local folder
Stars: ✭ 119 (-47.11%)
Mutual labels:  container
kanban-board
Single-click full-stack application (Postgres, Spring Boot & Angular) using Docker Compose
Stars: ✭ 138 (-38.67%)
Mutual labels:  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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].