Community discussions

MikroTik App
 
elico
Member Candidate
Member Candidate
Topic Author
Posts: 143
Joined: Mon Nov 07, 2016 3:23 am

IPsubnet calculator container

Tue Nov 15, 2022 5:18 pm

Based on old work of mine I have created a simple IP Subnet Calculator html5 web container:
The source of the calculator is from:
https://github.com/jmpep/IPsubnet

The container details are at:
https://github.com/elico/ipcalc-container

To install the container you can use the next commands and then access it using http://172.17.0.3/ and if you want you can define a customized domain name for that:
/interface/bridge/add name=dockers
/ip/address/add address=172.17.0.254/24 interface=dockers

/interface/veth/add name=veth3 address=172.17.0.3/24 gateway=172.17.0.254
/interface/bridge/port add bridge=dockers interface=veth3

/container/config/set registry-url=https://registry-1.docker.io tmpdir=disk1/pull

/container/add dns=172.17.0.254 remote-image=elicro/ipcalc:latest interface=veth3 root-dir=disk1/ipcalc  start-on-boot=yes

Who is online

Users browsing this forum: No registered users and 6 guests