Community discussions

MikroTik App
 
jeetlal
just joined
Topic Author
Posts: 13
Joined: Mon Oct 08, 2018 8:14 pm

Routeros docker container image

Sat Oct 12, 2019 9:11 am

Hi
There is official aws image of routeros.
But there is no official docker container image of routeros

Is any plan to build official docker container image of routeros

Thanks
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: Routeros docker container image

Sun Oct 13, 2019 4:14 pm

I hope so...it would be very useful!
 
User avatar
Cha0s
Forum Guru
Forum Guru
Posts: 1135
Joined: Tue Oct 11, 2005 4:53 pm

Re: Routeros docker container image

Mon Oct 21, 2019 4:14 pm

Docker is a container.
ROS is not just a web server or some app to be run in a container.

It is heavily dependent on its kernel to implement many of its features.

So my guess is that there will never be a docker image for ROS.
 
jeetlal
just joined
Topic Author
Posts: 13
Joined: Mon Oct 08, 2018 8:14 pm

Re: Routeros docker container image

Mon Oct 21, 2019 5:59 pm

Docker container image of routeros already available but that is third party not official

Check out this mum
https://youtu.be/7eVP743yMNs
 
User avatar
Cha0s
Forum Guru
Forum Guru
Posts: 1135
Joined: Tue Oct 11, 2005 4:53 pm

Re: Routeros docker container image

Tue Oct 22, 2019 11:54 am

This is not a Docker image for ROS but for OpenVPN.

Not to mention that it hasn't been updated for over 4 years.
https://github.com/AlexBeznos/openvpn-mikrotik

IMHO, ROS on Docker (or any other container platform) is a waste of time.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26289
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Routeros docker container image

Tue Oct 22, 2019 3:09 pm

Like written above, this request doesn't make any sense.
Docker is used to run applications.
RouterOS is an operating system.

Use CHR images.
 
blingblouw
Member
Member
Posts: 345
Joined: Wed Aug 25, 2010 9:43 am

Re: Routeros docker container image

Tue Oct 29, 2019 11:33 am

Like written above, this request doesn't make any sense.
Docker is used to run applications.
RouterOS is an operating system.

Use CHR images.
What would be great is (in v7) is to be able to run docker containers so that we can run custom applications :)
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26289
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Routeros docker container image

Tue Oct 29, 2019 11:38 am

Docker relies on the "parent" OS to have all the necessary stuff. RouterOS doens't have any stuff to rely on. Maybe I'm mistaken, not sure if RouterOS kernel is enough.
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: Routeros docker container image

Mon Mar 30, 2020 11:44 am

It could be interesting if RouterOS had Docker so that one could run lancache with zero storage as a relay on the router.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Routeros docker container image

Mon Mar 30, 2020 2:19 pm

Docker relies on the "parent" OS to have all the necessary stuff. RouterOS doens't have any stuff to rely on. Maybe I'm mistaken, not sure if RouterOS kernel is enough.
Looks like kernel should be enough, e.g. container images can use their own library versions.
 
wongudik
just joined
Posts: 1
Joined: Sun Nov 08, 2020 11:04 pm

Re: Routeros docker container image

Sun Nov 08, 2020 11:10 pm

Hi, had just I tried my routerOS on docker installation, and guest! its work!

this is base on this repository on github. https://github.com/kilip/docker-routeros

and I dont know what next? :)
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Routeros docker container image

Mon Nov 16, 2020 1:40 pm

That's actually routeros in qemu in docker, that's not fair :)
 
lothario
just joined
Posts: 1
Joined: Thu Aug 19, 2021 4:53 pm

Re: Routeros docker container image

Mon Aug 23, 2021 9:32 am

Docker relies on the "parent" OS to have all the necessary stuff. RouterOS doens't have any stuff to rely on. Maybe I'm mistaken, not sure if RouterOS kernel is enough.
Looks like kernel should be enough, e.g. container images can use their own library versions.
seems the chr-7.1beta6 calls the Linux kernel system func as well, even mikrotik design some customized kernel should working in the container as well, not for sure.
maybe it's hard to encrypt the system for the container version.
chr-7.1beta6\var\pdb\system\image~\lib\modules\5.6.3-64\kernel
chr-7.1beta6\var\pdb\system\image~\lib\modules\5.6.3-64\drivers

BR//lo

Who is online

Users browsing this forum: No registered users and 11 guests