计算器的来源是:
https://github.com/jmpep/IPsubnet
容器详情载于:
https://github.com/elico/ipcalc-container
要安装容器,可以使用下面的命令,然后使用http://172.17.0.3/如果你愿意,你可以为它定义一个自定义域名:
代码:选择所有
/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